           (try
             (proxy-super close)
             (finally
-              (when (instance? BasicClientConnectionManager conn-mgr)
+              (when (or (instance? SingleClientConnManager conn-mgr)
+                        (instance? BasicClientConnectionManager conn-mgr))
                 (.shutdown conn-mgr))))))
       (EntityUtils/toByteArray ^HttpEntity http-entity))))
 

           (org.apache.http.conn.params ConnRoutePNames)
           (org.apache.http.impl.client DefaultHttpClient)
           (org.apache.http.impl.conn BasicClientConnectionManager
                                      ProxySelectorRoutePlanner)
           (org.apache.http.auth UsernamePasswordCredentials AuthScope)
           (org.apache.http.util EntityUtils)))

                (dissoc :save-request?))
            resp))
        (finally
          (when (and (or (instance? SingleClientConnManager conn-mgr)
                         (instance? BasicClientConnectionManager conn-mgr))
                     (not= :stream as))
            (.shutdown ^ClientConnectionManager conn-mgr)))))))
