TEZ-1158. Disable multiple AM attempts if recovery is disabled. (hitesh)