code: public void connect() throws Exception {
          disconnect(); // disconnect from any old connection we had
  
          if (destroyed) {
              return;
          }
  
          log.debugf("About to connect a feed WebSocket client to endpoint [%s]", feedcommUrl);
  
          webSocketCall = webSocketClientBuilder.createWebSocketCall(feedcommUrl, null);
          webSocketCall.enqueue(this);
      }
docs: Connects to the websocket endpoint. This first attempts to disconnect to any existing connection.
  If this object has previously been {@link #destroy() destroyed}, then the connect request is ignored.
  
  @throws Exception on failure