Close conf json file