Don't process the last event before exit/restart multiple times.