unit tests need to wait until the event poller timeout ended