slink2ew dies often on unstable connections
Testing slink2ew, I realize it has become very unstable, and modules die often in poor telemetry connections. With previous (EW 7.10) version, slink2ew won't die. It will just keep trying to reconnect.
While statmgr will do it's best trying to restart dead services, I think this is a bug in slink2ew module. On this image, high PID numbers represent modules that are being restarted often. This behavior was not present on previous versions.

Log example:
-------------------------------------------------------
slink2ew_BRA: startup at UTC_20250912_15:46:04
This program is using the MT-Safe version of logit.
-------------------------------------------------------
20250912_UTC_15:46:04 LoadTableEnvVariable(): nfiles 2
20250912_UTC_15:46:04 slink2ew(MOD_SLINK2EW_BRA): Read command file <in/slink2ew_BRA.d>
20250912_UTC_15:46:04 could not find state file: in/slink2ew_BRA.state
20250912_UTC_15:46:04 slink2ew version 4.3 2025-02-07
20250912_UTC_15:46:07 error: [10.20.30.41:18000] Error setting socket to non-blocking
20250912_UTC_15:52:27 error: [10.20.30.41:18000] timeout waiting for response to 'HELLO'
20250912_UTC_16:19:42 [10.20.30.41:18000] network timeout (600s), reconnecting in 30s
20250912_UTC_16:45:40 [10.20.30.41:18000] network timeout (600s), reconnecting in 30s
-------------------------------------------------------
slink2ew_BRA: startup at UTC_20250912_16:48:01
This program is using the MT-Safe version of logit.
-------------------------------------------------------
20250912_UTC_16:48:01 LoadTableEnvVariable(): nfiles 2
20250912_UTC_16:48:01 slink2ew(MOD_SLINK2EW_BRA): Read command file <in/slink2ew_BRA.d>
20250912_UTC_16:48:01 slink2ew version 4.3 2025-02-07
20250912_UTC_17:03:09 [10.20.30.41:18000] network timeout (600s), reconnecting in 30s
20250912_UTC_17:20:47 [10.20.30.41:18000] network timeout (600s), reconnecting in 30s
20250912_UTC_17:21:51 error: [VV_BRA] timeout waiting for response to 'SELECT HH?.D'
20250912_UTC_17:21:51 error: [10.20.30.41:18000] sl_collect(): negotiation with server failed
20250912_UTC_17:21:51 error: [10.20.30.41:18000] sl_recvdata(): -1: Socket operation on non-socket
20250912_UTC_17:21:51 slink2ew terminated
-------------------------------------------------------
slink2ew_BRA: startup at UTC_20250912_17:23:06
This program is using the MT-Safe version of logit.
-------------------------------------------------------
20250912_UTC_17:23:06 LoadTableEnvVariable(): nfiles 2
20250912_UTC_17:23:06 slink2ew(MOD_SLINK2EW_BRA): Read command file <in/slink2ew_BRA.d>
20250912_UTC_17:23:06 slink2ew version 4.3 2025-02-07
20250912_UTC_17:23:40 error: [VV_BRA] timeout waiting for response to 'STATION BRA VV'
20250912_UTC_17:23:40 error: [10.20.30.41:18000] sl_collect(): negotiation with server failed
20250912_UTC_17:23:40 error: [10.20.30.41:18000] sl_recvdata(): -1: Socket operation on non-socket
20250912_UTC_17:23:40 slink2ew terminated