Optimize vfc-ztevnfmdriver termination Code