Fixed coroutine loop