fix shutdown of coroutines