log message for exiting main