Bugfix/#8 raise retry error on failure

This pull request fixes #8.
If the last attempt had an exception and `wrap_exception==False`, we raise the last exception.