@Override
    public void close() {
        if (Thread.currentThread() instanceof NonBlocking) {
            // Avoid blocking operation if we're in an event loop, because otherwise we might see a dead lock
            // while waiting for the channels to be closed.
            closeable.closeAsync();
        } else {
            closeable.close();
        }
    }
Closes all {@link Channel}s managed by this pool.
core/src/main/java/com/linecorp/armeria/client/HttpChannelPool.java