Improved multiple clients connecting and disconnecting at the same time.