db.Close must close also the WAL