add onretry callback test