Optimized checks for when to call Tls_WaitForConnect