Investigate and fix tortls/context_new test failure on win32 CI builds

From #25549 (moved), the tortls/context_new is reliably failing. We should investigate why and fix it.