public Builder retryOnFailures(ClientFaultCause ...causes) {
            StringJoiner joiner = new StringJoiner(VALUES_LIST_DELIMITER);
            for (ClientFaultCause cause : causes) {
                joiner.add(cause.name());
            }
            this.configuration.put(ClientConfigProperties.CLIENT_RETRY_ON_FAILURE.getKey(), joiner.toString());
            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