I followed this tutorial to integrate my plugins with my server's mySQL database. I'm setting up the connection inside my onEnable() and storing it in memory for access by the parts of the plugin that need it. However sometimes the plugin will lose connection to the database, rendering the plugin useless until I reload. What is happening here, and what is the solution? I looked it up and saw people recommending using external libraries to manage SQL connections through pools. Is using a library the only way to effectively manage SQL? I would be willing to do so if necessary, but I want to keep my imports to a minimum.