Update deadlock_retry plugin with latest upstream code.