public void shutdown() { // ensure it closes - in particular wait for thread to exit if (quorumPeer != null) { QuorumBase.shutdown(quorumPeer); } }