Server event from browser websocket connection close?