Synchronous-coroutine-based context managers