@After
  public void cleanupForAll() throws Exception {
    if (controller.isStarted()) {
      controller.stop();
    }

    // clean up created temporary files and directories
    if (DO_CLEANUP) {
      if (IoUtils.recursiveDelete(tempDir)) {
        tempDir.deleteOnExit();
      }
    }

    rollbackAllPatches();
  }