- fixed the retry count (was one unit less)
+ added configurable COOL_DOWN_BETWEEN_RETRIES