Add delay on retrying after OperationalError
I found when testing #8012 (closed) that retrying directly on OperationError (lock with no wait) is too fast and fails on the 5 retries.
I think we should add an increasing delay but it should not retain a DB connection.