Deadlock retries

Retry transaction on deadlock error.
Sure enough. :+1: Thanks!