fix cqueues.poll when polling outside a managed coroutine