Fix event loop io tree inconsistency on Windows.