private void stopProfiling() {
        if (profilingExecutor != null) {
            profilingExecutor.shutdown();
            profilingExecutor = null;
        }
    }
Outputs a data element if required using the current match or another
stored match.
stroom-pipeline/src/main/java/stroom/pipeline/xml/converter/ds3/DS3Parser.java