Set pipeline state as NULL when cancel audio recording