Here's the code I am using
AsyncHttpClient asyncHttpClient = asyncHttpClient();
RequestBuilder builder = new RequestBuilder("PUT");
Request request = builder.setUrl("http://localhost:8080")
        .setBody(requestBody)
        .build();
asyncHttpClient.executeRequest(request, new AsyncCompletionHandler<Object>() {
  @Override
  public Object onCompleted(Response response) throws Exception {
    System.out.println(response.getStatusCode());
    return response;
  }
});
The code run correctly and the response is printed out BUT the debugging logs keep printing this log
2018-09-19 10:48:43.465 DEBUG 73969 --- [pool-7-thread-1] o.a.netty.channel.DefaultChannelPool : Entry count for : http://localhost:8080 : 1
Any idea why this logs will keep being printed for while AFTER the request is done?