Close the `Pid` after you are done using it.