code: @Override
    public void destroy() {
      try {
        this.isWork = false;
        try {
          if (this.thread != null) {
            this.thread.join(2000);
            if (this.thread.isAlive()) {
              // FIXME: remove ASAP
              this.thread.interrupt();
            }
            thread = null;
          }
        }
        catch (InterruptedException e) {
          logger.debug("Can not stop thread", e);
        }
  
        if (this.serverSocket != null) {
          this.serverSocket.close();
          this.serverSocket = null;
        }
      }
      catch (IOException e) {
        logger.error("", e);
      }
    }
docs: /*
  (non-Javadoc)
  
  @see org.jdiameter.server.api.io.INetworkGuard#destroy()