pcntl check