Description
A single JAX-RS 2.0 WebTarget may spawn many new WebTarget instances as per the WebTarget API docs. ClientImpl strongly references all WebTarget instances so that that can be pro-actively closed when Client.close() is called.
However, reusing web targets to create new web targets may cause OOM.
This issue has been identified by Hartmut Lang