minor formatting changes
If the last attempt resulted in an Exception, ensure that it is set as the cause of the thrown RetryException such that it appears in the final stack trace, fix #3