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