Be very careful about retaining the concurrencyIdentifiers sets.

This shouldn't be necessary as the objects should be in autorelease pools on the appropriate threads, but some strange things are happening, so best be careful.