Check for a pid rather than connected property of process before killing.
Merge pull request #60 from bclwhitaker/bugfix/pid

Check for a pid rather than connected property of process before killing.