listener: Release the db object after using it
This is the contract that get_db/put_db is supposed to conform to.