Agent can now go home without running in circles