remove db closing. fixes #16