BG95 PSM mode without COAP close?

Hi, should I close the CoAP UDP instance using AT+QCOAPCLOSE to enter PSM mode, or does it automatically transition to PSM without closing?
What about for TCP connections (between heartbeats)?

Hi @MHD
the timer T3324 start at RRC release. So, if there any DL or UL data from UE to network, the RRC will not release and module will not enter PSM mode.
So, if there any UL or DL CoAP data or TCP heartbeats, you need close CoAP and TCP socket firstly.