Use SSE object to close connection