More advanced transaction retry, and breaking all the JOIN syntax!