What is the use case for this enhancement? ie. What problem are you trying to solve?
There will be many QSQSRVR jobs on IBM i systems if these database connections are not closed in time.
Describe the solution you'd like
Provide a close() API to close database connection, and update the examples if needed.