We catch Unavailable errors and retry a small number of times in order to mitigate eventual SQLite concurrency issues.