log message when shutting down