AWS Lambda and .NET driver connection management

We are tasked with writing a AWS Lambda function in C# (.NET CORE) to perform db operation in Atlas. Since the Mongodb driver for .NET does not provide a connection close method, I would like to know will the connection pool automatically terminate the opened connections when exiting the lambda execution?

We have not started any development yet and like to know how the connection pool might operate on Lambda before deciding on using C# or some other language.

Thanks in advance!