If you can isolate the error in your logic, does the loop finally break or does it simply become a new input for the system?