So what? Adding several timers is normal but adding several conditions is already a problem?
especially for more complicated procedures
You will be surprised how often if
is used in complicated functions
Isn’t there any other solution for stopping/pausing the procedure?
Such a magic puzzle/command doesn’t exist. In your case (when using timeouts) the only thing you can do to interrupt the loop is checking if this or that step is allowed before it will be executed.
Wrong

Correct

Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.