We should add a test that mocks window.EventSource so that it stays in the connecting state until the three second timeout fires.