Sending a heartbeat every 120 seconds should be sufficient for disconnect. This should be a configurable option as well.