Fix problem with try finally block

Signed-off-by: Lars Kiesow <lkiesow@uos.de>