Must close the SQLite handle prior to deleting