Does this lead to double counting if two tasks are running at the same time and a GC happens?