public Builder setSocketLinger(int secondsToWait) {
            this.configuration.put(ClientConfigProperties.SOCKET_LINGER_OPT.getKey(), String.valueOf(secondsToWait));
            return this;
        }
Default socket linger option. If set to true, socket will linger for the specified time.

@param secondsToWait - socket linger time in seconds
client-v2/src/main/java/com/clickhouse/client/api/Client.java