Add a case when connection by sse disconnects due to error