Removing heartbeat to avoid an exception on disconnection