          (proxy [HttpResponseInterceptor] []
            (process [resp ctx]
              (response-interceptor resp ctx)))))
-      (when (instance? BasicClientConnectionManager conn-mgr)
+      (when (or (instance? SingleClientConnManager conn-mgr)
+                (instance? BasicClientConnectionManager conn-mgr))
         (.addHeader http-req "Connection" "close"))
       (doseq [[header-n header-v] headers]
         (if (coll? header-v)

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

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

