Fix network disconnect does not save the config to disk Upstream-commit: 1d4306d2fa73506ed101cd085fea3174a3edda8b Component: engine