Retry transactions on serialization failures.