@After public void removeGitRepository() throws IOException, InterruptedException { if (isWindows()) { System.gc(); // Reduce Windows file busy exceptions cleaning up temp dirs } tempAllocator.dispose(); }