Disconnect Blynk in Firebase Cloud Function

So I’m using Firebase Cloud Functions to update a part of my Blynk App. They use Node.js. What I would prefer is that a connection is made to Blynk’s server, the data is updated, the connection is disconnected and then the function exits.

However, blynk.connect(); seems to start up some kind of loop or listener that keeps the function running. If I try to use blynk.disconnect() I get a REARMING DISCONNECT message. Is there any promise based solution I can use?