Fix retry

The `retryableList` function would never retry.

I also renamed `e` to `err` because it's a bit more clear.