Use a custom implementation of HttpStack that internally initializes SelfSignedSSLCertsManager in a secondary thread. All connections that need to use the SelfSignedSSLCertsManager will wait till the initialization is completed. (few secs).