Avoid possible GC race