Stable implementation of EventSource