private void flagCloseAndReleaseConnection(PooledConnection pooledConnection) {
        if (pooledConnection.isInPool()) {
            pooledConnection.closeAndRemoveFromPool();
        } else {
            pooledConnection.flagShouldClose();
            pooledConnection.release();
        }
    }
User: michaels@netflix.com
Date: 6/23/16
Time: 1:57 PM
zuul-core/src/main/java/com/netflix/zuul/netty/connectionpool/ConnectionPoolHandler.java