diagnostics - add shutdown message after main loop exit