ManagedHttpClientConnection detach() {
            return this.connRef.getAndSet(null);
        }
Defines period of inactivity after which persistent connections must
be re-validated prior to being {@link #lease(String, HttpRoute, Object)} leased} to the consumer.
Negative values passed to this method disable connection validation. This check helps
detect connections that have become stale (half-closed) while kept inactive in the pool.

@since 5.1

@deprecated Use {@link #setConnectionConfig(ConnectionConfig)}
httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/BasicHttpClientConnectionManager.java