https://github.com/JuliaDatabases/SQLite.jl/blob/b964d19cccdb6e9aff4eb8582da59d350d158432/src/SQLite.jl#L47 Maybe `db.file` should be assigned as `nothing` after it is closed?