consensus clean shutdown