make sure reset stops the event loop