Moved the settings loading and retrying into the background thread so it doesn't lock the UI