initial task retry framework