but the `os.getpid()` in the try below