terminate the loop to save patients