Fix typo when closing config_parser handle, complain if the
config_parser.close method errors.