added some more logging and shutdown the AppUpgradeManager when uprade has finished