Added experimental retry of deadlocked transactions.