All are interruptible in some way or A further. Not less than considered one of the existing responses presently offers an implementation of pause. Even your prompt implementation of rest infinity is over-advanced as sleep by itself is currently interruptible Stack Exchange community is made of 183 Q&A communities like https://williamc285gap3.robhasawiki.com/user