Add log to check if server will be shut down