Fix timers called from the wrong threads