in reply to any mechanism to go to the end of a loop but do not exit the loop

You can always use a goto statement, like
while (foo()) { ... goto JUST_BEFORE_END_OF_LOOP if bar(); ... ... JUST_BEFORE_OF_LOOP: clean_up }
You might also checkout the continue flow control. With it, you could write it like:
while (foo()) { ... next if bar(); ... ... } continue { clean_up }

Janek Schleicher