Scoping for ReferenceManager during serialization is now based on the thread id