Track user connection state and inactivity in Meteor.