extractSqlite: fix db close