TCP connection error resulting in Server Shutdown
**Description**
A clear and concise description of what the bug is.

I cannot tell if this is a plug-in issue or core issue...

The hoobs service randomly stops.  In general the service will run no more than 3 days before randomly stopping.  I've seen it stop in as little as a few hours but never stays up more than 2-3 days.

The only constant is that the log suggests this isn't a failure but a deliberate shutdown of the after a TCP error is detected.

Here is an example:

4/22/2021, 8:20:39 AM Error: read ECONNRESET
    at TCP.onStreamRead (internal/stream_base_commons.js:201:27)
4/22/2021, 8:20:39 AM Got SIGTERM, shutting down Bridge...
4/22/2021, 8:20:39 AM [Living Room] INFO - shutdown
4/22/2021, 8:20:39 AM [Living Room] INFO - shutdown

**Version**
Please include the version of HOOBS you are using.

Hoobs 3.3.5
Node 12.13.0
  

**Did you upgrade**
Please let us know if you upgraded from a previous version.
- [ ] Yes
- [x] No

**Pervious version**
If you upgraded, please let us know your previous version.

N/A

**Did you orginally upgrade to HOOBS 3 from HOOBS 2.1.1?**
Did you perform an upgrade from HOOBS 2.1.1? Some things are different.
- [ ] Yes
- [x] No

**What device are you using?**
Please let us know the device you are running HOOBS on.
- [ ] HOOBS Box
- [x] HOOBS SD Card
- [ ] Custom Install

**If this is a custom install, what's your operating system?**
Please let us know what operating system and version you are using. Ex. Fedora 30 or macOS Catalina.

N/A

**List your plugins**
Please include a list of the plugins you are using. We need to be able to find it on NPM. If the plugin is no published, please include a link to the repository.

Plugins: 
  Platform Insteonlocal 0.4.17
  Ring 9.17.0
  Harmony 1.5.2
  MyLink 1.3.0

**Post your config**
This can be found in the interface, Configuration -> Advanced or you can get it via SSH `cat ~/.hoobs/etc/config.json`

* Remove any passwords from the config file. This is public.

```

{
    "server": {
        "port": 8080,
        "origin": "*",
        "autostart": 10,
        "home_setup_id": "X-HM://0023ISYWYXPKZ",
        "polling_seconds": 5
    },
    "client": {
        "default_route": "status",
        "inactive_logoff": 30,
        "theme": "hoobs-dark",
        "locale": "en",
        "temp_units": "fahrenheit",
        "country_code": "US",
        "postal_code": "POSTAL CODE"
    },
    "bridge": {
        "name": "HOOBS",
        "port": 51826,
        "pin": "031-45-154",
        "username": "USERNAME"
    },
    "description": "",
    "ports": {},
    "accessories": [],
    "platforms": [
        {
            "platform": "Somfy myLink",
            "plugin_map": {
                "plugin_name": "homebridge-mylink"
            },
            "targets": [
                {
                    "targetID": "ID",
                    "name": "Awning",
                    "orientation": {
                        "closed": "up",
                        "middle": "stop",
                        "opened": "down"
                    }
                }
            ],
            "ipAddress": "192.168.X.X",
            "systemID": "mySystem"
        },
        {
            "platform": "InsteonLocal",
            "user": "USER",
            "pass": "PASSWORD",
            "host": "192.168.X.X",
            "port": "25105",
            "model": "2245",
            "server_port": "3000",
            "devices": [
                {
                    "name": "Deck",
                    "deviceID": "ID",
                    "dimmable": "yes",
                    "deviceType": "dimmer"
                },
                {
                    "name": "Patio",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Rear Landscape",
                    "deviceID": "ID",
                    "deviceType": "lightbulb",
                    "dimmable": "no"
                },
                {
                    "name": "Basement Back",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Basement Front",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Side Entrance",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Bathroom Light",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Fan",
                    "deviceID": "ID",
                    "deviceType": "fan",
                    "dimmable": "no"
                },
                {
                    "name": "Hallway",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Foyer",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Front Landscape",
                    "deviceID": "ID",
                    "deviceType": "switch",
                    "dimmable": "no"
                },
                {
                    "name": "Holiday",
                    "deviceID": "ID",
                    "deviceType": "switch",
                    "dimmable": "no"
                },
                {
                    "name": "Porch",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Garage Light",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Motion",
                    "deviceID": "ID",
                    "deviceType": "motionsensor",
                    "dimmable": "no"
                },
                {
                    "name": "Kitchen Light",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Kitchen Table",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Under Cabinet",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Living Room Light",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Christmas Tree",
                    "deviceID": "ID",
                    "deviceType": "outlet",
                    "dimmable": "no"
                },
                {
                    "name": "Dining Room Light",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Entrance",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Sitting Room Light",
                    "deviceID": "ID",
                    "dimmable": "yes",
                    "deviceType": "lightbulb"
                },
                {
                    "name": "Hall",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Hallway Secondary",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Entrance Secondary",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Kitchen Secondary",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Side Entrance Secondary",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                },
                {
                    "name": "Hall Secondary",
                    "deviceID": "ID",
                    "deviceType": "dimmer",
                    "dimmable": "yes"
                }
            ],
            "plugin_map": {
                "plugin_name": "homebridge-platform-insteonlocal"
            }
        },
        {
            "platform": "HarmonyHubWebSocket",
            "plugin_map": {
                "plugin_name": "homebridge-harmony"
            },
            "name": "Living Room",
            "hubIP": "192.168.X.X",
            "hubName": "Living Room",
            "cleanCache": false,
            "playPauseBehavior": true,
            "switchAccessories": true,
            "publishGeneralMuteSwitch": true,
            "linkVolumeControlToTV": true,
            "addAllActivitiesToSkippedIfSameStateActivitiesList": false,
            "showCommandsAtStartup": false,
            "DELAY_BEFORE_RETRY_AFTER_NETWORK_LOSS": 60000,
            "HUB_CONNECT_TIMEOUT": 10000,
            "HUB_SEND_TIMEOUT": 30000,
            "activitiesToPublishAsInputForTVMode": [],
            "remoteOverrideCommandsList": [],
            "activitiesToPublishAsAccessoriesSwitch": [],
            "skippedIfSameStateActivities": [],
            "devicesToPublishAsAccessoriesSwitch": [],
            "sequencesToPublishAsAccessoriesSwitch": [],
            "homeControlsToPublishAsAccessoriesSwitch": [],
            "otherPlatforms": []
        },
        {
            "platform": "Ring",
            "plugin_map": {
                "plugin_name": "homebridge-ring"
            },
            "alarmOnEntryDelay": false,
            "hideCameraMotionSensor": false,
            "hideDoorbellSwitch": false,
            "hideCameraSirenSwitch": true,
            "hideAlarmSirenSwitch": true,
            "hideUnsupportedServices": true,
            "showPanicButtons": false,
            "avoidSnapshotBatteryDrain": false,
            "sendCameraMotionNotificationsToTv": false,
            "sendDoorbellMotionNotificationsToTv": false,
            "debug": false,
            "refreshToken": "TOKEN",
            "hideLightGroups": true,
            "hideInHomeDoorbellSwitch": true,
            "hideDeviceIds": [],
            "locationIds": [],
            "onlyDeviceTypes": []
        }
    ]
}

```

**Post your log**
You can get the log from the interface. This is in the Log section.

```

4/22/2021, 8:20:39 AM Error: read ECONNRESET
    at TCP.onStreamRead (internal/stream_base_commons.js:201:27)
4/22/2021, 8:20:39 AM Got SIGTERM, shutting down Bridge...
4/22/2021, 8:20:39 AM [Living Room] INFO - shutdown
4/22/2021, 8:20:39 AM [Living Room] INFO - shutdown

```

**Additional context**
Add any other context about the problem here.

On occasion I see warnings similar to this that suggests maybe the Insteon plugin is playing a role here:

4/22/2021, 10:03:56 AM (node:18197) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [Insteon]. Use emitter.setMaxListeners() to increase limit