private void initAvailableNodes(List<TEndPoint> endPointList) {
    this.availableNodes =
        NodesSupplier.createNodeSupplier(
            endPointList,
            executorService,
            user,
            password,
            zoneId,
            thriftDefaultBufferSize,
            thriftMaxFrameSize,
            connectionTimeoutInMs,
            useSSL,
            trustStore,
            trustStorePwd,
            enableCompression,
            version.toString());
  }
Timeout of query can be set by users. A negative number means using the default configuration
of server. And value 0 will disable the function of query timeout.
iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java