                    (or keystore trust-store)
                    (get-keystore-scheme-registry config)
 
-                   :else regular-scheme-registry)]
+                   :else @regular-scheme-registry)]
     (PoolingHttpClientConnectionManager.
      registry nil nil nil timeout java.util.concurrent.TimeUnit/SECONDS)))
 

                   (or keystore trust-store)
                   (get-keystore-scheme-registry config)

                   :else regular-strategy-registry)
        io-reactor (make-ioreactor io-config)
        protocol-handler (HttpAsyncRequestExecutor.)
        io-event-dispatch (DefaultHttpClientIODispatch. protocol-handler

                       (opt req :insecure) (BasicHttpClientConnectionManager.
                                            @insecure-scheme-registry)

                       :else (BasicHttpClientConnectionManager. @regular-scheme-registry))]
    (when socket-timeout
      (.setSocketConfig conn-manager
                        (-> (.getSocketConfig conn-manager)
