ProcessManager: check not only by signal 0 but also by waitpit + pid change