added check for headset shutoff