well your client really shouldnt be attached to 20 websockets in the first place. One is enough. But if that situation would exist, then indeed, more complex mechanism should be invented. But i dont think that in the scope of this class, they invent something like that