Do you think it might be better to set `connected` to false in a listener for  `disconnect` method of reconnecter? Otherwise I'd be worried about trying to send commands when we're disconnected but haven't yet started to reconnect.