Don't close sockets that don't exist/have never been opened.