diff --git a/validate_workflow.sh b/validate_workflow.sh
index 52e230e12a7d96cff6e244fb1aee8f3d08312f6d..6b2b5e6227f28d3fcfd8c95f2b37bc78f88416a3 100755
--- a/validate_workflow.sh
+++ b/validate_workflow.sh
@@ -414,6 +414,8 @@ scan_file() {
         # try best guess
         MODE=$(estimate_mode "$mimetype")
     fi
+    trap "" SIGINT
+    debug "scan_file, === entering protected area ==="
     if [ "$STAGE" = "any" ]; then
         is_valid=0
         for stage in current upcoming; do
@@ -429,7 +431,9 @@ scan_file() {
         is_valid=$(exec_cmd "$cmd" "$ftype" "$MODE" "$stage" "$logname")
         handle_input_if_requested "$filename" "$is_valid"
     fi
-
+    debug "scan_file, === leaving protected area ==="
+    trap - SIGINT
+    debug "---"
 }
 
 scan_dir() {
@@ -441,6 +445,7 @@ done
 #### MAIN
 
 get_cli_args "$@"
+#trap signalhandler SIGINT SIGABRT #sigint
 if [ "$WITH_PIPE" -eq 1 ]; then
     #cli mode, use stdin
     debug "checking stream"