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

Changes v1..v2:
  * more simple state
  * hijack `emit` instead of using `new/removeListener` API
Need to be indented one more to actually happen in the queue.