Removing sockets