properly reject the promise with EventSource

only reject it when source.readyState == window.EventSource.CLOSED
otherwise, Chrome was sending 'error' events with readyState == CONNECTING