Properly prune dead services.