in gym3/subproc.py [0:0]
def _communicate(self, method, *args, **kwargs):
try:
return method(*args, **kwargs)
except (EOFError, ConnectionResetError):
self._child.join()
raise SubprocError(
f"child process exited with exit code {self._child.exitcode}"
)