Fixed retries not working on status codes beyond 2xx. Fixes #59