Please consider DRYing it a bit. I think putting it into the loop in array: `[this.sockets, this.freesSockets]` would be much shorter.