Bug: switchbot fails to connect after restarting machine
### Describe The Bug

Switchbot fails to connect every time I restart my machine

### To Reproduce

Homebridge installed on Mac mini running via node, restart machine and notice failure in logs, restart home bridge from UI to fix

### Expected behavior

Connection is properly established with switchbot

### Relevant log output

```shell
[10/28/2022, 2:11:08 PM] [SwitchBot] req: Error: Client network socket disconnected before secure TLS connection was established, Submit Bugs Here: https://tinyurl.com/SwitchBotBug
```


### Config for homebridge-switchbot

```shell
{
            "name": "SwitchBot",
            "credentials": {
                "token": "****************",
                "secret": "***************",
                "notice": "Keep your token a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "************",
                        "configDeviceName": "Bedroom Light",
                        "hide_device": false,
                        "configDeviceType": "Bot",
                        "bot": {
                            "mode": "switch",
                            "deviceType": "switch",
                            "allowPush": true
                        },
                        "offline": false,
                        "logging": "standard"
                    }
                ]
            },
            "platform": "SwitchBot"
        }
```


### Screenshots

_No response_

### Device & Model

switch

### Node.js Version

v16.17.0

### NPM Version

8.18.0

### Homebridge Version

v4.50.1

### Homebridge Switchbot Plugin Version

v2.2.2

### Homebridge Config UI X Plugin Version

homebridge-config-ui-x v4.50.1

### Operating System

macOS 12.6