added a retry flow for time-outs and other nonsense
;