Add propert exception handling to QueryStoreUninstaller