add timeout for wait-for-sound-device