Use notmuch_database_destroy instead of notmuch_database_close