Changes to stop service while settings.json is updated.