Implement socket queue for saving all connected sockets