code: public void start() {
          connector.registerConnectorListener(this::onCommandReceived);
          connector.registerConnectionChangeListener(this::onConnectionChange);
          connector.start();
          executor.scheduleAtFixedRate(this::checkHeartbeat, 1000, 1000, TimeUnit.MILLISECONDS);
      }
docs: starts the remote connection such that it will attempt to establish connectivity