Example showing return from a closure (trap)