If a WebSocket detects a change in the clientId being used, then it should only tell the engine to flush the connection for the old clientId and disassociate the socket from that connection, rather than closing the socket. This prevents an error condition where a client recovering from a network outage and retrying messages with different client IDs has its socket repeatedly closed before any messages can be processed.