Do not poll events once quitting has started