fix mysql connection.close();