diff --git a/sf.py b/sf.py index b59b6c95f4c..001b42f5500 100755 --- a/sf.py +++ b/sf.py @@ -442,6 +442,9 @@ def start_scan(sfConfig: dict, sfModules: dict, args, loggingQueue) -> None: if not info: continue if info[5] in ["ERROR-FAILED", "ABORT-REQUESTED", "ABORTED", "FINISHED"]: + # allow 15 seconds for post-scan correlations to complete + p.join(timeout=15) + if sfConfig['__logging']: log.info(f"Scan completed with status {info[5]}") if args.o == "json":