Made the changetracking thread safe.