add an event to end the event processing loop. finish simple_chars test