gruntjs/grunt-lib-phantomjs — pull request #60 by bclwhitaker (2014-05-02 17:16:26+00:00)
Title: Check for a pid rather than connected property of process before killing.

For whatever reason, I was seeing that a phantom process would be left behind and running tests with grunt-contrib-qunit on Mac OS X10.9.2. Checking for a pid and not the connected property of the process addressed the problem. Its possible this might address https://github.com/gruntjs/grunt-contrib-qunit/issues/60.