docs: protected boolean _connect(long timeout) {
      log.debug("Attempting connection...");
      ConnectFuture connFuture = this.connector.connect(new InetSocketAddress(
          this.host, this.port));
      if (!connFuture.awaitUninterruptibly(timeout)) {
        log.warn("Unable to connect to world model after {}ms.",
            Long.valueOf(this.connectionTimeout));
        return false;
      }
      if (!connFuture.isConnected()) {
        log.debug("Failed to connect.");
        return false;
      }
  
      try {
        log.debug("Attempting connection to {}:{}.", this.host,
            Integer.valueOf(this.port));
        this.session = connFuture.getSession();
      } catch (RuntimeIoException ioe) {
        log.error(String.format(
            "Could not create session to World Model (C) %s:%d.", this.host,
            Integer.valueOf(this.port)), ioe);
        return false;
      }
      return true;
    }