Merge "Fix thread safety in libaudioclient tests" into main