Fix restart monitor stopping on manual restart Upstream-commit: 0c4f28e51a45bdc21ba9fa1630bdf52c944778eb Component: engine