code: @Subscribe
    public void onQuit(AggregatedQuitEvent e) {
      if (jsonWriter == null)
        return;
  
      try {
        jsonWriter.endArray();
  
        jsonWriter.name("slaves");
        jsonWriter.beginObject();
        for (Map.Entry<Integer, ForkedJvmInfo> entry : slaves.entrySet()) {
          jsonWriter.name(Integer.toString(entry.getKey()));
          entry.getValue().serialize(jsonWriter);
        }
        jsonWriter.endObject();
  
        jsonWriter.endObject();
        jsonWriter.flush();
  
        if (!Strings.isNullOrEmpty(jsonpMethod)) {
          writer.write(");");
        }
  
        jsonWriter.close();
        jsonWriter = null;
        writer = null;
  
        if (method == OutputMethod.HTML) {
          copyScaffolding(targetFile);
        }
      } catch (IOException x) {
        junit4.log(x, Project.MSG_ERR);
      }
    }
docs: All tests completed.