Fix for iOS audio device closing.