HPCC-10764 Regression suite run stalls on some query failues, e.g. code gen
issues

Add checking to avoid run stall on some query failures code gen issues.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>