test_c10d: use with_nccl_blocking_wait decorator (#54742)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/54742
Uses with_nccl_blocking_wait decorator for test_c10d.
ghstack-source-id: 125233691
Test Plan: ci
Reviewed By: SciPioneer
Differential Revision: D27277835
fbshipit-source-id: 063de32646b19d18969e9d60cb9a31a40d73d6a7