Fixed deadlock in ConfigItem::Commit().