FIXED crash on `browser.destroy` for EventSource (#807)

Separately, if you hijack `_emit` you can add any triggered event to the queue, that way the code only executes during the call to `wait`.