Made EventGenerator exit cleanly