Add feature to closing config-file in clusterSaveConfig() function.

Add feature to closing config-file in clusterSaveConfig() function.