doing only max retries in case of auth failure