add retry counter
2 files changed