failure protection for extraction in a loop