Rewrote the client to use EventSource instead