Fix testIdleTimeoutNotExceededWhenOutputIsSent on windows