### Bug: If socket call on line 133 returns socketfd == 0 https://github.com/llnl/Spindle/blob/585dacff6734eb039d318577711d47c5b950699c/src/utils/exitnote.c#L133 socketfd will not get properly closed: https://github.com/llnl/Spindle/blob/585dacff6734eb039d318577711d47c5b950699c/src/utils/exitnote.c#L184-L185 ### Fix: ``` if (sockfd != -1) close(sockfd); ```