SSE connection close management