clear sockets