Stop calls recording when forwarded


I have a set up where a call comes in and hits a queue and an agent picks up. If the call is of senstive nature the agent must forward the call to a PSTN number.

I need the call to be recorded but to STOP recording once the agent forwards the call. But it seems with the call recording set to yes under the queue - the call keeps recording even after its transferred.

is there anyway to stop recording once calls are transferred?

thank you