public Builder setConnectTimeout(long timeout, ChronoUnit unit) {
            return this.setConnectTimeout(Duration.of(timeout, unit).toMillis());
        }
Default connection timeout in milliseconds. Timeout is applied to establish a connection.

@param timeout - connection timeout value
@param unit - time unit
client-v2/src/main/java/com/clickhouse/client/api/Client.java