Marked closeDatabase as private since it's not meant to be used outside the SQLiteDB class