Close the Audio Device on close, prevents a shutdown crash which sometimes would occur