Mambo Disconnects after starting notifications

Product: [Mambo/Swing/Rolling Spider/Airborne Cargo/Airborne Night/Hydrofoil]
Product version: [X.X.X]
SDK version: [X.X.X]
Use of libARController: [NO] (Only for ARSDK)
SDK platform: [JavaScript]
Reproductible with the official app: [NO]

I am developing a web app using JavaScript to connect with and control the Mambo over BLE. I am using the Web Bluetooth API. I am successfully able to connect to the drone and access its BLE characteristics using Web Bluetooth, however there is an issue when trying to start listening for notifications on a characteristic.
Whenever I call characteristic.startNotifications(), the drone disconnects a few seconds later. If I don’t call that function, the drone will stay connected indefinitely.

Why is this happening? What can I do to keep the drone connected?

UPDATE: I have solved this by constantly sending data to the drone (at least every 2-3 seonds), which keeps it connected.