stop event is triggered synchronously