I have a groovy module which makes a lot of http requests to external services.
I am seeing out of memory errors after a day or so of running continuously.
While profiling with YourKit I see thousands and thousands of `org.vertx.java.core.http.impl.DefaultHttpClient` objects hanging around.
I also see the old gen space growing steadily over time.
I am using pooling with maxPoolSize = 25.
Just to test I removed the maxPoolSize and disabled keepAlive but I'm still seeing the same issue.
After digging through a memory snapshot I can see the references to all these DefaultHttpClient objects are held in a local variable `closeHooks` in the event loop context.
My question is this: should I explicitly close each HttpClient after each request? Is there some method to cleanup the HttpClient resources automatically?