Terminating the Database Connection of MySQL node in Node-Red

Good day to all of you! Have any of you tried closing the database connection of the MySQL node in Node-Red? I am working on a project that requires connecting to a shared cloud database using Node-Red. However, I have noticed that when the MySQL node successfully connects to the database, the connection does not close automatically. The shared cloud database is built on MariaDB. Since the database connection of the MySQL node does not close automatically, the connections to MariaDB keep accumulating. The connections are reset when the PC hosting the cloud database restarts. If restarting the Cloud Database PC is not possible, is there any way to manually close the database connection of the MySQL node in Node-Red?

image