output before shut down server