Added CPU lock for merchants synchronization