Adding diagnostic stats before restart