pcntl updates to kill process if its stuck