Implement basic locking for candidate in config-netconf-connector