add shared locking for uci_load