 already  here implies that the  kill above was not involved in it is death it s possible that the process exited due to the kill since stopprocessandblock does not know anything about the pid it is killing i would therefore suggest instead that this message be  process  pid  has exited and that you use slog this or something like that since this could be the normal case are you sure you do not want to return true here 