docs: @Override
      public void onWebSocketClose(int statusCode, String reason) {
          LOGGER.info("Close the WebSocket, statusCode=" + statusCode + ", reason=" + reason);
          connected = false;
          clientConnection.onSocketError();
          if(this.session != null){
              try {
                  this.session.close();
              } catch (IOException e) {
                  LOGGER.warn("Close WebSocket session get exception.");
                  if(LOGGER.isTraceEnabled()){
                      LOGGER.trace("Close WebSocket session get exception.", e);
                  }
              }
              this.session = null;
  
  
              synchronized(sessionLock){
                  sessionLock.notifyAll();
              }
  //            doConnect();
  //            cleanup();
          }
      }