configure retries correctly