title: Strange behavior using Apache HttpClient
body: <p>I am new to OSGi and it's the first time I am using Apache HttpClient under OSGi.</p>
  
  <p>When I execute this code...</p>
  
  <pre><code>try {
          System.out.println("&gt; Creating Method Request");
          HttpGet httpGet = new HttpGet(baseUri + codec.encode(data));
  
          System.out.println("&gt; Creating Client");
          CloseableHttpClient httpclient = HttpClients.createDefault();
  
          System.out.println("&gt; Use Objects");
  
      } catch (Exception ex) {
  
          System.out.println("&gt; Exception " + ex.getCause());
  
      } finally {
  
          System.out.println("&gt; Finally");
      }
  </code></pre>
  
  <p>, I get this behavior: "> Creating Client" gets printed followed by "> Finally". No exception is caught but ">Using Objects" is never print. </p>
  
  <p>Does anyone know what could be causing this? Thanks in advance.</p>