SDC-1511 - fix crash when there is no summary task provided by pipeline
a little extra logic was added. When a summary task is expected (because of the 'WAIT_FOR_SUMMARY_TASK' aggration strategy), but not provided by the pipeline, then define that last task of a SAS_ID that goes on 'processed' as a summary_task and put it on hold... (then the normal flow resumes).