Better per-service algorithm for healthchecking