code: public void shutdown() {
  
          for (Entry<HttpClientType, AsyncHttpClient> entry : map.entrySet()) {
              AsyncHttpClient client = entry.getValue();
              if (client != null)
                  client.close();
          }
  
      }
docs: Shutdown each AHC client in the map.