restart only if needed [ci skip]