FIX: windows waitForIO