[fix] Make the retry operation configurable #6