TEZ-1028. Handle killed tasks and attempts when handling recovery data. (hitesh)