should not remove pid it could be ps is not ready yet

It could be that the process has not started yet in the os ps list.