Inactivity checks

Allows detection of hung connections - particularly useful for pubsub subscribers.