@AfterEach
    void tearDown() throws Exception {
        // Complete all uncompleted requests.
        for (;;) {
            final CompletableFuture<HttpResponse> f = responses.poll();
            if (f == null) {
                break;
            }
            f.complete(HttpResponse.of(200));
        }

        if (clientFactory != null) {
            clientFactory.close();
        }

        await().until(() -> server.server().numConnections() == 0);
        await().until(() -> serverWithMaxConcurrentStreams1.server().numConnections() == 0);
    }
Makes sure Armeria HTTP client respects {@code MAX_CONCURRENT_STREAMS} HTTP/2 setting.
core/src/test/java/com/linecorp/armeria/client/HttpClientMaxConcurrentStreamTest.java