Memory optimization: release AudioRecorder resource