@After public void tearDown() { if (pool != null) { if (pool.getClient() != null) { pool.getClient().shutdown(0, 0, TimeUnit.MILLISECONDS); } pool.destroy(); } }