code: protected void disconnect() {
          disconnect0(connectedAddress.holder().getFamily());
          connected = false;
          connectedAddress = null;
          connectedPort = -1;
      }
docs: Disconnects a previously connected socket. Does nothing if the socket was
  not connected already.