Fixed detection of running simple-restart to be more robust (using PID file).