Adjusted service_status_has_changed to handle exits during startups.