The code has to be designed in a way that it can be repeated without any
side effects. When execution was successful it should notify that event
by calling {@link Loop::end()}. I.e. the only side effects
of the code may happen after a successful execution.
If the code throws an exception it will stop repeating the execution.