retry transactions that fail due to deadlock or other recoverable error