md: avoid endless recovery loop when waiting for fail device to complete.