Handle DAC terminate in a proper way