[BUG] WARNING - socket closed causing SIGTERM & SIGINT which is crashing HOOBS
**Describe the bug**

I keep getting the following error:

(Harmony)WARNING - socket closed

then

Got SIGTERM, shutting down Bridge...
 
Then my HOOBS shuts completely down.

**To Reproduce**

When I install the harmony plugin, I only fill in the following fields:

1. Name of YourHub
2. IP Address of Your Hub (must be fixed)
3. Hub name in Your Harmony App
4. Main Activity

I leave everything else to default.

**Expected behavior**
For the Harmony plugin to not crash HOOBS when it runs into an issue. Maybe just the Harmony plugin could crash, leaving HOOBS, and all my other plugins, running.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**IOS (please complete the following information):**
- Version [iOS 14.4.2]
- Device: [3rd Gen 12” iPad Pro]

**Logs**

Log 1:

4/5/2021, 2:34:56 PM [Harmony] (Harmony)WARNING - socket closed
4/5/2021, 2:35:16 PM [Harmony] (Harmony)ERROR (1)- refreshCurrentActivity TimeoutError: Can't open WebSocket within allowed timeout: 10000 ms. - Stack : TimeoutError: Can't open WebSocket within allowed timeout: 10000 ms.
    at PromiseController._handleTimeout (/home/hoobs/.hoobs/node_modules/promise-controller/src/index.js:172:19)
    at Timeout.<anonymous> (/home/hoobs/.hoobs/node_modules/promise-controller/src/index.js:178:43)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)
4/5/2021, 2:35:41 PM Error: connect EHOSTUNREACH 192.168.1.196:8088
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
4/5/2021, 2:35:41 PM Got SIGTERM, shutting down Bridge...
4/5/2021, 2:35:41 PM [Harmony] INFO - shutdown
4/5/2021, 2:35:41 PM [Harmony] INFO - shutdown

Log 2:

4/5/2021, 8:39:00 PM [Harmony] (Harmony)INFO - Loading activities...
4/5/2021, 8:39:00 PM [Harmony] (Harmony)Error - Error retrieving info from hub : network timeout at: http://192.168.1.196:8088/-(2)
4/5/2021, 8:39:10 PM [Harmony] (Harmony)INFO - Loading activities...
4/5/2021, 8:39:10 PM [Harmony] (Harmony)Error - Error retrieving info from hub : network timeout at: http://192.168.1.196:8088/-(3)
4/5/2021, 8:39:14 PM Got SIGINT, shutting down Bridge...
4/5/2021, 8:39:14 PM [Harmony] INFO - shutdown
4/5/2021, 8:39:14 PM [Harmony] INFO - shutdown

Log 3:

[Harmony] (Harmony)WARNING - socket closed
4/6/2021, 7:52:26 PM [Harmony] (Harmony)WARNING - socket closed
4/6/2021, 7:56:45 PM [Harmony-TV A2D1@Active] The read handler for the characteristic 'Active' on the accessory 'Harmony-TV A2D1' was slow to respond!
4/6/2021, 7:56:51 PM [Harmony-TV A2D1@Active] The read handler for the characteristic 'Active' on the accessory 'Harmony-TV A2D1' didn't respond at all!. Please check that you properly call the callback!
4/6/2021, 7:58:11 PM [Harmony] (Harmony)ERROR (1)- refreshCurrentActivity Error: WebSocket closed with reason: undefined (undefined). - Stack : Error: WebSocket closed with reason: undefined (undefined).
at WebSocketAsPromised._handleClose (/home/hoobs/.hoobs/node_modules/websocket-as-promised/src/index.js:353:19)
at WebSocket.listener (/home/hoobs/.hoobs/node_modules/websocket-as-promised/src/index.js:311:64)
at WebSocket.emit (events.js:315:20)
at WebSocket.emitClose (/home/hoobs/.hoobs/node_modules/harmony-websocket/node_modules/ws/lib/websocket.js:198:10)
at Socket.socketOnClose (/home/hoobs/.hoobs/node_modules/harmony-websocket/node_modules/ws/lib/websocket.js:886:15)
at Socket.emit (events.js:315:20)
at TCP. (net.js:673:12)
4/6/2021, 7:58:11 PM [Harmony] (Harmony)WARNING - socket closed

Log 4:

4/10/2021, 7:59:06 AM [Harmony] (Harmony)WARNING - socket closed
4/10/2021, 8:16:12 AM [Harmony] (Harmony)WARNING - socket closed
4/10/2021, 8:45:03 AM [Harmony] (Harmony)WARNING - socket closed
4/10/2021, 9:01:16 AM [Harmony] (Harmony)WARNING - socket closed
4/10/2021, 9:58:53 AM [Harmony-TV A2D1@Active Identifier] The read handler for the characteristic 'Active Identifier' on the accessory 'Harmony-TV A2D1' was slow to respond!
4/10/2021, 9:58:59 AM [Harmony-TV A2D1@Active Identifier] The read handler for the characteristic 'Active Identifier' on the accessory 'Harmony-TV A2D1' didn't respond at all!. Please check that you properly call the callback!
4/10/2021, 9:59:31 AM [Harmony] (Harmony)ERROR (1)- refreshCurrentActivity Error: WebSocket closed with reason: undefined (undefined). - Stack : Error: WebSocket closed with reason: undefined (undefined).
at WebSocketAsPromised._handleClose (/home/hoobs/.hoobs/node_modules/websocket-as-promised/src/index.js:353:19)
at WebSocket.listener (/home/hoobs/.hoobs/node_modules/websocket-as-promised/src/index.js:311:64)
at WebSocket.emit (events.js:315:20)
at WebSocket.emitClose (/home/hoobs/.hoobs/node_modules/harmony-websocket/node_modules/ws/lib/websocket.js:198:10)
at Socket.socketOnClose (/home/hoobs/.hoobs/node_modules/harmony-websocket/node_modules/ws/lib/websocket.js:886:15)
at Socket.emit (events.js:315:20)
at TCP. (net.js:673:12)
4/10/2021, 9:59:31 AM [Harmony] (Harmony)WARNING - socket closed
4/10/2021, 10:06:27 AM [Harmony] (Harmony)WARNING - socket closed
4/10/2021, 11:49:59 AM [Ring] Reconnecting location socket.io connection
4/10/2021, 11:50:00 AM [Ring] Creating location socket.io connection - Brunswick
4/10/2021, 11:50:01 AM [Ring] Ring connected to socket.io server
4/10/2021, 3:04:35 PM [Harmony] (Harmony)WARNING - socket closed
4/10/2021, 3:04:55 PM [Harmony] (Harmony)ERROR (1)- refreshCurrentActivity TimeoutError: Can't open WebSocket within allowed timeout: 10000 ms. - Stack : TimeoutError: Can't open WebSocket within allowed timeout: 10000 ms.
at PromiseController._handleTimeout (/home/hoobs/.hoobs/node_modules/promise-controller/src/index.js:172:19)
at Timeout. (/home/hoobs/.hoobs/node_modules/promise-controller/src/index.js:178:43)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
4/10/2021, 3:05:21 PM Error: connect EHOSTUNREACH 192.168.1.196:8088
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
4/10/2021, 3:05:21 PM Got SIGTERM, shutting down Bridge...
4/10/2021, 3:05:21 PM [Harmony] INFO - shutdown
4/10/2021, 3:05:21 PM [Harmony] INFO - shutdown

**Config**

   {
            "platform": "HarmonyHubWebSocket",
            "plugin_map": {
                "plugin_name": "homebridge-harmony"
            },
            "name": "Harmony",
            "hubIP": "192.168.1.196",
            "hubName": "Theater Room",
            "mainActivity": "Vizio",
            "activitiesToPublishAsInputForTVMode": [],
            "remoteOverrideCommandsList": [],
            "activitiesToPublishAsAccessoriesSwitch": [],
            "skippedIfSameStateActivities": [],
            "devicesToPublishAsAccessoriesSwitch": [],
            "sequencesToPublishAsAccessoriesSwitch": [],
            "homeControlsToPublishAsAccessoriesSwitch": [],
            "otherPlatforms": []
        }
    ]

**Additional context**

I have erased and factory reset my HOOBS several times trying to resolve the issue.
HOOBS v3.3.5
Node v14.15.1
