I believe there's an extension function "use" that...
# announcements
c
I believe there's an extension function "use" that takes a lambda and executes it, closing the resource afterwards. Let me look up the docs.