cleanup/sockets