Fix test failures in SingleThreadEventLoopTest on Windows

- It seems like Windows sometimes sleeps less than specified.
- Related issue: #726