public void completed(final HttpPoolEntry entry) {
if (log.isDebugEnabled()) {
log.debug("Connection leased: " + format(entry) + formatStats(entry.getRoute()));
}
final ManagedClientAsyncConnection conn = new ManagedClientAsyncConnectionImpl(
PoolingClientAsyncConnectionManager.this,
PoolingClientAsyncConnectionManager.this.connFactory,
entry);
if (!this.future.completed(conn)) {
pool.release(entry, true);