only terminate node if provider_id exists