public Builder setMaxRetries(int maxRetries) {
            this.configuration.put(ClientConfigProperties.RETRY_ON_FAILURE.getKey(), String.valueOf(maxRetries));
            return this;
        }
Sets list of causes that should be retried on.
Default {@code [NoHttpResponse, ConnectTimeout, ConnectionRequestTimeout]}
Use {@link ClientFaultCause#None} to disable retries.

@param causes - list of causes
@return
client-v2/src/main/java/com/clickhouse/client/api/Client.java