[tor-commits] [gettor/master] Add method to close dbpool and call it