public Builder setConnectTimeout(long timeout) {
            this.configuration.put(ClientConfigProperties.CONNECTION_TIMEOUT.getKey(), String.valueOf(timeout));
            return this;
        }
Default connection timeout in milliseconds. Timeout is applied to establish a connection.

@param timeout - connection timeout in milliseconds
client-v2/src/main/java/com/clickhouse/client/api/Client.java