switch: start/stop the accessory thread on the fly