fail the promise with TaskUpgradeCancelledException if upgrade is cancelled