stop event loop on exception in handleTimerTick()