close cursors in sqlite prefs