SCTX-1766: Configurable timeout for stunnel