Make sure SSE channels close when server is shutting down