autoretry on error with max autoretry count (fixed)