attach resource to sessions so that only the relevant sessions are terminated when a contact goes offline
see README.html