refactoring (intentfactory) - running close io on seperate from to not hold up the ui when going into the settings