The only case for closing the socket is if it were somehow already closed (which would be redundant). There is no sort of error that a send would get back that would require creating a new socket.