Better heartbeat, only send on inactivity