closes sockets more better when done