make sockets reusable