DBMaker: fix memory leak in shutdown hooks. WSee #272