I suggest Attempt which already is there for you - ready to use. ;-)
ihb
Read argumentation in its context!
In reply to Re: retry code snippet by ihb in thread retry code snippet by ccn