clean thread shutdown for A/V