public Builder setConnectionTTL(long timeout, ChronoUnit unit) {
            this.configuration.put(ClientConfigProperties.CONNECTION_TTL.getKey(), String.valueOf(Duration.of(timeout, unit).toMillis()));
            return this;
        }
Sets how long any connection would be considered as active and able for a lease.
After this time connection will be marked for sweep and will not be returned from a pool.
Has more effect than keep-alive timeout.
@param timeout - time in unit
@param unit - time unit
@return
client-v2/src/main/java/com/clickhouse/client/api/Client.java