I want to access an external database (mongodb) from Google Cloud Function or Firebase Cloud Function. I don't want to create the database connection every time I do it. Is there an option to store the database connection in a global variable and use it in every call.