Homebridge randomly becomes unable to connect to my unifi protect controller
<!-- BUG REPORTS THAT ARE NOT FILLED OUT COMPLETELY WILL BE CLOSED AUTOMATICALLY WITHOUT WARNING AND WILL NOT RECEIVE A RESPONSE. THE FORM IS HERE FOR A REASON. :). -->
<!-- Please ensure you read the documentation before creating a support request, especially the Troubleshooting page. -->
<!-- BUG REPORTS ABOUT BETA VERSIONS OF UNIFI / UBIQUITI FIRMWARE OR EARLY-ACCESS/BETA HARDWARE WILL BE CLOSED WITHOUT A RESPONSE. ALL BETA RELEASES FROM UBIQUITI ARE UNSUPPORTED -->

**Describe The Problem:**
<!-- A clear and concise description of what the issue is. -->
Homebridge randomly becomes unable to connect to my unifi protect controller.  This happens randomly usually after 1-2 weeks of working flawlessly. I couldn't find any troubleshooting help around this so any help would be greatly appreciated here. 

I've found that frequently when I try to log in myself using the username / password I've allocated for homebridge my login attempts fail with "Too many login attempts" so it seems to me that the plugin might be communicating with the unifi protect controller too frequently and hitting login attempt limits.

Sometimes rebooting homebridge has helped, while other times I've needed to add a new user to unifi protect and point the homebridge plugin to the newly created user.

**To Reproduce:**
<!-- Steps to reproduce the behavior. -->
Leave homebridge running for a few weeks

**Logs:**
<!-- In order to be helpful, include the relevant logs from Homebridge, if applicable. -->

```
[37m[10/24/2023, 8:21:11 PM] [39m[36m[UniFi Protect][39m [31m192.168.1.1: API error: Unable to connect to the Protect controller. This is usually temporary and will occur during Protect controller reboots and firmware updates.[39m
[37m[10/24/2023, 8:21:21 PM] [39m[36m[UniFi Protect][39m [31m192.168.1.1: API error: Unable to connect to the Protect controller. This is usually temporary and will occur during Protect controller reboots and firmware updates.[39m
[37m[10/24/2023, 8:21:31 PM] [39m[36m[UniFi Protect][39m [31m192.168.1.1: API error: Unable to connect to the Protect controller. This is usually temporary and will occur during Protect controller reboots and firmware updates.[39m
[37m[10/24/2023, 8:21:41 PM] [39m[36m[UniFi Protect][39m [31m192.168.1.1: API error: Unable to connect to the Protect controller. This is usually temporary and will occur during Protect controller reboots and firmware updates.[39m
[37m[10/24/2023, 8:21:51 PM] [39m[36m[UniFi Protect][39m [31m192.168.1.1: API error: Unable to connect to the Protect controller. This is usually temporary and will occur during Protect controller reboots and firmware updates.[39m
[37m[10/24/2023, 8:22:01 PM] [39m[36m[UniFi Protect][39m [31m192.168.1.1: API error: Unable to connect to the Protect controller. This is usually temporary and will occur during Protect controller reboots and firmware updates.[39m
[37m[10/24/2023, 8:22:11 PM] [39m[36m[UniFi Protect][39m [31m192.168.1.1: API error: Unable to connect to the Protect controller. This is usually temporary and will occur during Protect controller reboots and firmware updates.[39m
[37m[10/24/2023, 8:22:21 PM] [39m[36m[UniFi Protect][39m [31m192.168.1.1: API error: Unable to connect to the Protect controller. This is usually temporary and will occur during Protect controller reboots and firmware updates.[39m
```

**Homebridge Configuration:**

```json
        {
            "controllers": [
                {
                    "address": "192.168.1.1",
                    "password": "XXXXXX",
                    "username": "Homebridge"
                }
            ],
            "name": "UniFi Protect",
            "platform": "UniFi Protect"
        }
```

**Screenshots:**
<img width="1103" alt="Screenshot 2023-10-24 at 8 52 31 PM" src="https://github.com/hjdhjd/homebridge-unifi-protect/assets/16435613/b9843897-2d4c-420f-a096-935a68b83b0d">

<!-- If applicable, add screenshots to help explain your problem. -->

**Environment:**

* **Homebridge Version:** <!-- homebridge -V --> 1.6.1
* **Node Version:** <!-- node -v --> v18.16.0
* **Homebridge-UniFi-Protect Plugin Version:**  v6.15.1
* **UniFi Protect Version:** <!-- Read the Protect version line from https://unifi-controller/protect/settings --> Protect 2.8.35
* **UniFi Protect Controller Type:** <!-- UCKgen2+, UDMP, UNVR, etc. --> UDMP
* **UniFi Protect Controller Firmware Version:** <!-- Read the firmware line from https://unifi-controller/settings/general --> UniFi OS 3.1.16
* **Apple Device and iOS / macOS / iPadOS / tvOS Version:**<!-- Type of Apple device you're using and associated OS version --> Mac mini running macOS 12.7
* **Operating System and OS Version:** <!-- Raspbian / Ubuntu / Debian / Windows / macOS / Docker --> macOS 12.7

<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
