            (build-response-map (.execute client http-req context) req conn-mgr context)
            (catch Throwable t
              (when-not (conn/reusable? conn-mgr)
-               (.shutdown conn-mgr))
+               (shutdown conn-mgr))
              (throw t))))
        (let [^CloseableHttpAsyncClient client
              (http-async-client req conn-mgr http-url proxy-ignore-hosts)]

                       (when server-port (str ":" server-port))
                       uri
                       (when query-string (str "?" query-string)))
; #### THIS DEADLOCKS THE TESTS FOR SOME REASON!!!!
;         ^HttpClientConnectionManager conn-mgr (or connection-manager
         conn-mgr (or connection-manager
                      (get-conn-mgr async? req))
         proxy-ignore-hosts (or proxy-ignore-hosts

           (org.apache.http.impl.nio.client HttpAsyncClientBuilder
                                            HttpAsyncClients
                                            CloseableHttpAsyncClient)
           (org.apache.http.nio.conn NHttpClientConnectionManager)
           (org.apache.http.message BasicHttpResponse)
           (java.util.concurrent ExecutionException)))

