code: static public void shutdownQuietly(HttpClient http) {
          if (http != null) {
              try {
                  http.getConnectionManager().shutdown();
              } catch (Exception ignore) {
                  // do nothing
              }
          }
      }
docs: Quitely shuts down an HttpClient instance by shutting down its connection
  manager and ignoring any errors that occur.
  @param http The HttpClient to shutdown