Fixed the stopping of I/O and AVAudioSession.