Fix race causing autorestart turning off on restart Upstream-commit: 8d5695470ae909d0abb62e10f41c6e5f342520cd Component: engine