Removed localTerminate as it is never observed as true at that point.