prevent paused loops from starting 'onend'