fix race condition with conf locking