Improve check which sees if Supervisor is running

Instead of just checking if the socket file exists, we should also check if the PID written to the PID file exists.
Merge pull request #901 from Tenzer/improve-supervisor-running-check

Improve check which sees if Supervisor is running