pball: There's no problem at the code, it works completely safe. I'm sure that errors because of non-closed timers also, that's not a showcase, it's totally a fully snippet. You have to close it by your choosing use as workfull, like I i sad, that's a fully snippet command. If you don't want to see that errors you can put theese codes too, that's will fix your problem.
Code:
on :dialog::close::.timermrqe off
on :close:@:.timermrqe off