non-working prototype for Coro::AnyEvent loop engine