##[ internal API for now, API subject to change ]## import std/[os,osproc,sugar,strutils] proc actionRetry*(maxRetry: int, backoffDuration: float, action: proc(): bool): bool = ## retry `action` up to `maxRetry` times with exponential backoff and initial ## duraton of `backoffDuration` seconds var t = backoffDuration for i in 0..