fixed unclosed mysql connexion