Fix test (not using sleep for correct usage of IoEventLoop)
Fix of test (do not use sleep which is incorrect with EventLoop)