Race Conditions in TransposeNew SDK Sample

Thanks for the suggestion. Just added it to the trunk.