move ReconnectingEventSource from retrieval.py to eventsource.py