code: public void close() {
          long endNanos = System.nanoTime();
          long durationNanos = endNanos - startNanos;
          connectionPoolCallback.releaseConnection(durationNanos);
      }
docs: Calculates the connection lease nanos and propagates it to the connection pool callback.