[qtcontacts-sqlite] Close database on destruction.