Bug 1069227 - [Loop] Make sure that we recover from an expired token situation

See bug https://bugzilla.mozilla.org/show_bug.cgi?id=1069227 please.
You can move `counter` to the second parameter to avoid passing it when it's 0. Also, "retryCount" is more clear.