if retryCount is equal to 0, `!retryCount` will already be true since 0 is falsy.
`if (!retryCount)` is enough.