rudimentary Retry class