protect against potential retry infinite loop