@Override public synchronized void close() { isClosed = true; if (tnode != null) { tnode.close(); } if (tsTracker != null) { tsTracker.close(); } if (transactorCache != null) { transactorCache.close(); } if (oracleClient != null) { oracleClient.close(); } cw.close(); bulkCw.close(); sbw.close(); try { bw.close(); } catch (MutationsRejectedException e) { throw new RuntimeException(e); } curator.close(); }