added retry logic in case of 403 error