@After public void cleanup() throws IOException, InterruptedException { if (app != null) { app.close(); app = null; } TestUtils.stopZookeeperServer(zookeeperServerConnectionFactory); }