Shell stop process after found value in file

hi guys can somebody help me here...

i've a file that contains total of ip that connects to my server and their ip like this :

80       80  xxx.xxx.xx.xxx
 75      75  xxx.xxx.xx.xxx
 73      73  xxx.xxx.xx.xxx

where first columns and second were the total connections...

What i wanna do is i want to grep that ip and do a nslookup to find the server name. I've success to do that with this code:

cat ${FILE} |
while read NO TOTAL IP ; do
LOOKUP_RES=$(nslookup $IP | sed -n 's/.*arpa.name = \(.\)/\1/p')
test -z "$LOOKUP_RES" && LOOKUP_RES="Failed"
echo -e "$TOTAL\t$IP\t$LOOKUP_RES"

done >> ${REPORT}

my problem is how can make my script to stop process and doesn't to read all the remaining line when it found total ip that connect was below 50?

can somebody help please :confused: