Creates a waiter function that can be used in a loop while trying some task many times. The waiter sleeps while waiting to try again, with sleep times determined by exponential back-off.
StartRetryWaiter(timeout = NULL, delay = 0.1, maxdelay = 1)
function which gets the waiter status. This function returns a list with these items:
index numeric. How many times we have waited.
secondsWaited numeric. How long (in seconds) since we started the timer.
stillTrying logical. Whether we should keep trying or give up (logical)
integer. How long (in seconds) to keep trying before timing out (NULL means no timeout)
integer. Initial delay between tries (in seconds).
integer. Maximum delay (in seconds) between tries.