Approximate description of the problem:
There is an element that belongs to several sets
The first agent iterates over the sets and does some additional checking (does not delete anything)
The second agent iterates over the sets and, having found the required set, removes the membership arc between the element and this set
The first agent crashes because of this