Fix the stop method in the slave_health_check daemon