It does not execute the second block because the application simply stops executing when a timeout occurs. In other words, it doesn't handle your timeout correctly and it terminates immediately.
Interesting way to call SNMP from TCL though. Didn't think about it, have problem calling SNMP from TCL. Yesterday I posted
this question It never appeared to me to do it like you do.
For your problem, include this statement in your program at the beginning:
and I expect that you can see why timeout is not handled gracefully.
jlinkels