same multiprocessing context as the specified "start_method" and
   pass it as a function argument.
The "exit_barrier_timeout" specifies the amount of time (in
   seconds) to wait for other agents to finish. This acts as a safety
   net to handle cases where workers finish at different times, to
   prevent agents from viewing workers that finished early as a scale-
   down event. It is strongly advised that the user code deal with
   ensuring that workers are terminated in a synchronous manner rather
   than relying on the exit_barrier_timeout.
A named pipe based watchdog can be enabled in "LocalElasticAgent"
   if an environment variable "TORCHELASTIC_ENABLE_FILE_TIMER" with
   value 1 has been defined in the "LocalElasticAgent" process.
   Optionally, another environment variable
   "TORCHELASTIC_TIMER_FILE" can be set with a unique file name for
   the named pipe. If the environment variable
   "TORCHELASTIC_TIMER_FILE" is not set, "LocalElasticAgent" will