It's hard for me to tell from the control flow and indentation: can you just use a `break`?  Otherwise, I find `done` to be a good name for this type of variable.