Fixup close of exitsocket