Merge "Fix crash from asynchronous GPU metrics" into main