As we already splitted scheduler out from engine service, the retry information can't be saved anymore, so move the logic to engine to make it work again. Change-Id: If0ddc339ea705889fc52a84ed190df136abca650