Streamlined the handling of 'exectimeout' in sub_test.