Homebridge crashing when secure video request is triggered
**Describe The Problem:**
When secure video request is triggered, home bridge is restarting (most probably a crash).



**To Reproduce:**
- Enable recording in HomeKit
- Trigger motion for the camera

**Logs:**
[27/03/2022, 19:32:24] [homebridge-unifi-protect] The Dream [UDM-PRO] Gio’s Room [UVC G4 Pro]: Streaming request from 10.0.10.150: 1280x720@30fps, 299 kbps. Using 1280x720@24fps (Medium), 2000 kbps.
[27/03/2022, 19:32:51] [homebridge-unifi-protect] The Dream [UDM-PRO] Gio’s Room [UVC G4 Pro]: Stopped video streaming session.
[27/03/2022, 19:32:59] [UniFiPoeControl] Refreshing devices...
[27/03/2022, 19:33:00] [homebridge-unifi-protect] The Dream [UDM-PRO] Gio’s Room [UVC G4 Pro]: HomeKit Secure Video event recording enabled: 3840x2160@24fps (High), 2000 kbps with a 4 second timeshift buffer.
[27/03/2022, 19:33:53] [homebridge-unifi-protect] The Dream [UDM-PRO] Gio’s Room [UVC G4 Pro]: Streaming request from 10.0.10.150: 1280x720@30fps, 299 kbps. Using 1280x720@24fps (Medium), 2000 kbps.
[27/03/2022, 19:34:46] [HB Supervisor] OS: Linux 5.10.103-v8+ arm64
[27/03/2022, 19:34:46] [HB Supervisor] Node.js v16.14.2 /usr/bin/node
[27/03/2022, 19:34:46] [HB Supervisor] Homebridge Path: /usr/lib/node_modules/homebridge/bin/homebridge
[27/03/2022, 19:34:46] [HB Supervisor] UI Path: /usr/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[27/03/2022, 19:34:53] [Homebridge UI] Homebridge Config UI X v4.42.0 is listening on :: port 8581
[27/03/2022, 19:34:54] [HB Supervisor] Starting Homebridge with extra flags: -I
[27/03/2022, 19:34:54] [HB Supervisor] Started Homebridge v1.4.0 with PID: 1561


Motion is triggered at 19:33:53, no log is recorded, reboot is triggered.


**Homebridge Configuration:**

        {
            "controllers": [
                {
                    "address": "10.0.0.1",
                    "password": ,
                    "username": 
                }
            ],
            "_bridge": {
                "username": "0E:D4:82:6F:67:1E",
                "port": 57763
            },
            "platform": "UniFi Protect"
        },

**Environment:**

- Raspberry Pi 4b
- Default ffmpeg
- Software ffmpeg 

* **Homebridge Version:** <!-- homebridge -V -->
1.4.0


* **Node Version:** <!-- node -v -->

v16.14.2
 
* **Homebridge-UniFi-Protect Plugin Version:**

latest
 
* **UniFi Protect Version:** <!-- Read the Protect version line from https://unifi-controller/protect/settings -->
Protect 1.21.3

* **UniFi Protect Controller Type:** <!-- UCKgen2+, UDMP, UNVR, etc. -->

homebridge-unifi-protect v5.5.0

* **UniFi Protect Controller Firmware Version:** <!-- Read the firmware line from https://unifi-controller/settings/general -->
UniFi OS UDM Pro 1.11.4

* **Apple Device and iOS / macOS / iPadOS / tvOS Version:**<!-- Type of Apple device you're using and associated OS version -->

iOS 15.4
