[core.app] Restart apps that died due to errors.