Don't keep the process open if the timer is the last thing in the event loop