Periodically retry upgrade.