private void doStartHAR() {
    // On har-start, load indices
    staticIPS.tryLoad(new File(getFilesDir(), PPSOptions.HELSINKIIPPS_INDEX_FILE));

    isHAR = true;
    connectorThread.addConsumer(waitingPipeline);
    connectorThread.addConsumer(ppsPipeline);
    connectorThread.addConsumer(harPipeline);
  }
  private void doStopHAR() {
    connectorThread.removeConsumer(harPipeline);
    connectorThread.removeConsumer(ppsPipeline);
    connectorThread.removeConsumer(waitingPipeline);

    isHAR = false;

    // On har-stop, save indices
    staticIPS.trySave(new File(getFilesDir(), PPSOptions.HELSINKIIPPS_INDEX_FILE));
  }