Refactor clients list in server.