title: Jersey client connection close memory leak issue
body: <p>I am using Jersey v10 and have written the following code.Is this the right way to close a Jersey client connection to avoid memory leaks.I was not doing any calls int he finally before this.</p>
  
  <pre><code>ClientConfig config = setupHttps();
      final Client c = Client.create(config);
  
      final WebResource r = c.resource(baseUri);
      ClientResponse response = null;
      try {
          response = r.path("/....")
                  .header("contentId", id)
                  .header("sid", sid).get(ClientResponse.class);
          ...
  
  
  
      } catch (Exception e) {
          log.error("Error returning contentServiceName.");
  
      } finally {
          if (response != null) {
              response.close();
          }
          if (c!= null) {
              c.destroy();
          }
  
      }
  </code></pre>
  
  <p>TIA,
  Vijay</p>