I want to implement a function of regular reconnection after a failed database connection, but I don t know why there is a memory leak, so I d like to ask the gods. to make it easier to ask questions, I tidied up the code, connected to the database d...