Removing empty WAL file on close

Hello, I hope this project is still maintained because is the only serious embeddable sql in pure go that I found.
I have this question, if possible.
I know that opening a db like this:

qldb, err := ql.OpenFile("hal.db", &ql.Options{RemoveEmptyWAL: true})

will remove the empty WAL files on close. But I'm opening the db with

db, err := sql.Open("ql", "hal.db")

because I prefer to work with a standard *sql.DB object.
The question is: is there still a way to get these files removed on close?

A the moment I'm workarounding by reopening con exit:

<-done
db.Close()
qldb, _ := ql.OpenFile("hal.db", &ql.Options{RemoveEmptyWAL: true})
qldb.Close()

Thanks.