Close treestore objects when finished.