ensure export workers that are killed bubble up to parent process (#70997)
When a static worker exits, we log the error but it doesn't get
propagated to the parent process, which can cause the build to hang. If
we're going to log an error about a static worker being forced to exit,
this calls exit on the parent process.
Closes NDX-364