[Bug 51740] WaitForMultipleObjects doesn't signal for stdin