Fix the host_unhandled_service_count error

fixes #6833