added milliseconds wait hook to Coro::AnyEvent