refactor clients list send behavior of socket connection