Ensure the background fetching is done on a worker thread so as to not block the UI.
Ensure plugins are given a chance to unload when the app is closed.