private void openTransport() throws TTransportException {
    DeepCopyRpcTransportFactory.setDefaultBufferCapacity(params.getThriftDefaultBufferSize());
    DeepCopyRpcTransportFactory.setThriftMaxFrameSize(params.getThriftMaxFrameSize());

    if (params.isUseSSL()) {
      transport =
          DeepCopyRpcTransportFactory.INSTANCE.getTransport(
              params.getHost(),
              params.getPort(),
              getNetworkTimeout(),
              params.getTrustStore(),
              params.getTrustStorePwd());
    } else {
      transport =
          DeepCopyRpcTransportFactory.INSTANCE.getTransport(
              params.getHost(), params.getPort(), getNetworkTimeout());
    }
    if (!transport.isOpen()) {
      transport.open();
    }
  }
ConnectionTimeout and SocketTimeout. Unit: ms. If not set, default value 0 will be used, which
means that there's no timeout in the client side.
iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBConnection.java