Added retry-stop loop inside arm-stop-movement()