Close the SQLite connection handles when done