Fixed the issue related to the return from an active coroutine.
Used the backtracking example to test the recent fix.