in case we're outputting the log files to a port, close the logfile before exiting to set a shutdown() message.
in case we're outputting the log files to a port, close the logfile before
exiting to set a shutdown() message.

sassoftware/rmake3,sassoftware/rmake3,sassoftware/rmake,sassoftware/rmake3,sassoftware/rmake,sassoftware/rmake