SQLite and locking

I had a couple of processes working (intermittently) on the same SQLite file, and got a lock exception – and I couldn’t find any obvious way of handling that, other than using the low-level API or a loop with try/catch. Does anyone have experience with this kind of issue (using SQLite.jl and/or DBInterface.jl)? (My desired behavior is simply to wait in line until the lock is freed…)