Wait for the process to stop or kill it after the timeout.
The process pid
The maximum wait time in milliseconds
true if the process stopped, false if the process was killed.
true
false
Wait for the process to stop or kill it after the timeout.