public int closed() {
        return closed.get();
    }
A {@link ConnectionPoolListener} to count the number of connections which have been open and closed.
core/src/test/java/com/linecorp/armeria/client/CountingConnectionPoolListener.java