fixed logic error: previous processed shortcircuit leaves jobdoc file in /tmp