Only close WebSockets when we receive a /meta/connect message with a changed clientId; this makes the WebSocket transport more stable during error recovery.