public Builder setKeepAliveTimeout(long timeout, ChronoUnit unit) {
            this.configuration.put(ClientConfigProperties.HTTP_KEEP_ALIVE_TIMEOUT.getKey(), String.valueOf(Duration.of(timeout, unit).toMillis()));
            return this;
        }
Sets keep alive timeout for a connection to override server value. If set to -1 then server value will be used.
Default is -1.
Doesn't override connection TTL value.
{@see Client#setConnectionTTL}
@param timeout - time in unit
@param unit - time unit
@return
client-v2/src/main/java/com/clickhouse/client/api/Client.java