add lambda return value for break loop.