fix possible deadlock in the CRM graph