code: function (clusterTimeout) {
          clearReconnectInterval();
  
          if (isConnecting) {
              delegateExceptionCallback(ortc, 'Unable to connect...');
              disconnectSocket();
          }
  
          isConnecting = true;
  
          delegateReconnectingCallback(ortc);
  
          reconnectStartedAt = new Date().getTime();
  
          if (clusterUrl && clusterUrl != null) {
              clusterConnection(clusterTimeout);
          }
          else {
              ortc.sockjs = createSocketConnection(url);
          }
  
          if (!ortc.reconnectTimeoutlId) {
              // Timeout to reconnect
              ortc.reconnectTimeoutlId = setTimeout(function () {
                  if (!isConnected) {
                      reconnectSocket(ortc.getConnectionTimeout());
                  }
              }, ortc.getConnectionTimeout());
          }
      }
docs: /*
  Reconnects the socket.