Merge "Fix race between finalizeAllEnqueued and GC" into lmp-dev