Non-trivial finalizer in org.jboss.resteasy.client.jaxrs.engines.ApacheHttpClient4Engine is causing OpenJDK to retain memory in Finalizer queue even after the client is not accessible otherwise.
Does it make sense to rework that into PhantomReference and cleanup the client explicitly instead of relying on finalizers?