Be more lenient with network exceptions in trigger_azure_pipeline.py (#57714)
Summary:
Fixes possible failure caused by network instability.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57714
Reviewed By: ngimel
Differential Revision: D28288555
Pulled By: malfet
fbshipit-source-id: 2deedf3fe1a95dae5a68d599d9603f3da4702e8e