Add retry conditions