Moves AStarPlanner interrupt point outside of conditional.
This fixes the never-joining thread problem.