changes for retrying a operation on a Exception