When apply is pressed, and TCP connection is selected, but already running, program hangs for a few seconds. <img width="795" height="1084" alt="Image" src="https://github.com/user-attachments/assets/a517e76a-2c01-4218-a67d-232eac50aeae" />