queue with sockets working