removed close connection in showTables to keep session alive