Avoid corrupt databases by closing all databases on process exit.
Avoid corrupt databases by closing all databases on process exit.

sit/dht,weidezhang/dht,weidezhang/dht,sit/dht,sit/dht,weidezhang/dht,sit/dht,sit/dht,weidezhang/dht,weidezhang/dht