KillByPid causes the Process to exit immediately. It does not wait
until the Process has actually exited. This only kills the Process
itself, not any other processes it may have started. If the process
can't be found at the moment of the call, KillByPid returns nil.