Read in here about an issue with deleting/disabling timers…
…and create a simple “sacrificial timer” as your first timer in your code. Test and see if that helps.
// "Sacrificial" Timer - needed when deleting timers as using that feature will also kill first timer created...
timer.setTimeout(10L, []() {
// do nothing here, or do something that is only needed once at the start of code.
}); // END sacrificial Function