Added pcntl support detection to automatically run tasks in parallel when PHP supports it