only the PID is checked, the PID may have been reused, I'm frequently finding SSH doesn't get started because this.