Fix unintended error when worker force kill happens #43455 (#43462)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/43455
Pull Request resolved: https://github.com/pytorch/pytorch/pull/43462
Reviewed By: bdhirsh
Differential Revision: D25277759
Pulled By: VitalyFedyunin
fbshipit-source-id: 0bb0d87374c0403853d71aac2c242374bfc7acf2