fix failedservices to use service_list_loop