stopping the pid not found crash

should fix it