I do not know what your database is and I do not understand much of wordpress, but ...
A good programming practice is whenever you create an object, after using it you destroy it to free up memory. The same applies to database, when instantiating a connection with the bank you are consuming memory and processing of your server, and leaving it open you are constantly occupying that memory and wanting or not also generating some "memory garbage."
In my opinion, the right thing is whenever you need to do a search (select) or other operation as an insert or update, you instantiate a connection to the database, perform all necessary operations and then close the connection, thus freeing up memory and processing of your server and also the "memory garbage"
In your case, you should be instantiating the connection to the bank and always leaving it open, thus always generating a bit of "memory garbage" and other things that are getting in memory, weighing in your server and processes of it.
"Memory garbage" refers to, for example, data that the connection might create to optimize repeated tasks, and so forth.