Fix retries so they work