close root config after read.