Check PID file
Merge pull request #8 from paulhammond/pid-file-checking

Check PID file