The cancellation cases waited for a binding call that the program issued
immediately before a non-yielding loop. On Windows the child's control-pipe
writes complete on its event loop, so that call can stay queued behind an
unfinished earlier write forever and the case times out after 90 s. The
program now marks readiness with a synchronous file write that the test
polls before cancelling.