vTaksDelay stops scheduler without resuming it after a few calls

I would recommend reading through the free-to-download book (which I’m in the process of very slowly updating…) - it will save you a lot of time.