Fixes #1882 sharing of non-thread-safe collection prevented for local ca...

...lls