Protect Controller taking too long to respond
### Homebridge UniFi Protect Version

6.22.0

### Homebridge Platform and OS

MacOS Sonoma (17.5)

### Homebridge Version

1.8.2

### Node Version

20.13.1

### UniFi OS Version

3.2.12

### UniFi Protect Controller Version

3.0.26

### Describe the problem

Log shows repetitive API errors, associated with Protect Controller taking too long to respond.  Recently I've seen the CPU of the UDM Pro near 100%, causing lockups to basic functionality.  Upon disabling the HBUP plugin, the CPU was returned back to normal.  I re-enabled the plugin again recently, and haven't had any UDM Pro lockups, but output from the plugin, such as detecting camera motion to turn on a light have not been working reliably.

### Homebridge HBUP JSON configuration

```json
"name": "UniFi Protect",
            "options": [
                "Enable.Audio.Filter.Noise.E063DA805269",
                "Enable.Video.DynamicBitrate.E063DA805269",
                "Enable.Video.Transcode.Hardware.E063DA805269",
                "Disable.Doorbell.Messages.FromDoorbell.E063DA805269",
                "Disable.Doorbell.Messages.E063DA805269",
                "Enable.Video.HKSV.Record.Only.High.E063DA805269",
                "Enable.Video.Stream.Only.High.E063DA805269",
                "Enable.Nvr.Service.Playlist.E063DA805269.10110",
                "Enable.Motion.SmartDetect.E063DA805269",
                "Enable.Audio.Filter.Noise",
                "Enable.Doorbell.Trigger",
                "Disable.Doorbell.Trigger.E063DA805269"
            ],
            "_bridge": {
                "username": "0E:52:0E:DA:64:7B",
                "port": 42482
            },
            "platform": "UniFi Protect"
```


### Relevant log output

```shell
[5/21/2024, 10:25:25 AM] [UniFi Protect] Front Porch - G4 Doorbell Pro [G4 Doorbell Pro]: Doorbell ring detected.
[Front Porch - G4 Doorbell Pro] The image snapshot handler for the given accessory is slow to respond! See https://homebridge.io/w/JtMGR for more info.
[5/21/2024, 10:49:11 AM] [UniFi Protect] Peacock Hill UDM Pro [UDM-PRO]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[5/21/2024, 10:49:15 AM] [UniFi Protect] Peacock Hill UDM Pro [UDM-PRO]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[5/21/2024, 10:49:15 AM] [UniFi Protect] Peacock Hill UDM Pro [UDM-PRO]: API error: Unable to retrieve the UniFi Protect controller configuration.
[5/22/2024, 12:49:09 AM] [UniFi Protect] Peacock Hill UDM Pro [UDM-PRO]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[5/22/2024, 12:49:13 AM] [UniFi Protect] Peacock Hill UDM Pro [UDM-PRO]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[5/22/2024, 12:49:13 AM] [UniFi Protect] Peacock Hill UDM Pro [UDM-PRO]: API error: Unable to retrieve the UniFi Protect controller configuration.
```


### Acknowledgment that you are only running UniFi OS and UniFi Protect releases from the Ubiquiti Official release channel

- [X] I acknowledge that I am not running any early access / beta firmwares or operating systems from either Ubiquiti or Apple.