code: public void close() {
          if (connected) {
              try {
                  transport.close();
              }
              catch (IOException ex) {
                  logger.debug("close()", ex);
              }
              finally {
                  connected = false;
              }
          }
      }
docs: Closes this <tt>TCPMasterConnection</tt>.