public void close() {
    tableContexts.values().forEach(ctx -> ctx.tableProvider.close());
  }
Shutdown the table manager, internally it shuts down all tables
samza-core/src/main/java/org/apache/samza/table/TableManager.java