Fix to an issue causing a thread to exit if any fiber therein self-cancels