@Override public void tearDown() { try { super.tearDown(); blockJobs = false; Utils.finishMockSleep(); if (peerGroup.isRunning()) peerGroup.stopAsync(); } catch (Exception e) { throw new RuntimeException(e); } }