Added destroyer of socket, so not multiple sockets are added