For now, we just catch the bug and at least we don’t have any obvious problems as a result (In the long run, maybe we do) . I’ll try your approach and then report back if catching the object does anything. (But I think I have already tried this approach).
My guess is that the garbage collector is throwing away something that is actually still needed.
The reference count doesn’t seem to be really deterministic here either, although I would expect that.