Issue about socket communication

Hi,
I have a UR16E and use socket to communicate with PC.But when I trigger safeguard stop and return to normal,the socket communication will be interrupted. And the socket is in subprograme.
I want to know if safeguard stop impact communication.

Safeguard stop effectively pauses program - all threads are paused.