Closing domain server config file once read