I have a simple server-sent-event code that sends random integers in each second, and a react app is listening the events.
When the connection is lost due to that the ser