add a autoretry config for task