Change in ovirt-engine[ovirt-engine-3.5]: core: prevent possible deadlock between monitoring threads