Make sure to decrease the retryCount