add missing saveSettings() on server shutdown