Move Windows IO manager wakeup handle closure later
Previously the handle would be closed by the RTS, which could potentially race with the event-manager thread. Move the closing of the handle to the event-manager thread, eliminating this failure mode.