                        (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

                   (reify org.apache.http.concurrent.FutureCallback
                     (failed [this ex]
                       (when-not (conn/reusable? conn-mgr)
                         (.shutdown conn-mgr))
                       (if (:ignore-unknown-host? req)
                         ((:unknown-host-respond req) nil)
                         (raise ex)))

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