LPS-47273 Add a log to display retry counts

Please review this retry approach, add what you consider, and if you agree let's send this to Brian ;)