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. This will allow Supervisor and the Datadog agent to start up correctly again, after the two were killed or not shut down using the `agent` script.