Count retries and don't access statuscode on normal client error