Remove the need to connect/disconnect and replace by only sending heartbeat or not.