I have 2 function (main & connectSQL). What I am trying to do is to end the MySQL connection no matter what happen. Because in my old code, I need to do Ctrl+C in terminal e