java stream break out of foreach