[sr-dev] Doing automatic unregister when a WEBSOCKET connection is closed