added break condition for high limits

This will add a break condition to while loop for high limits, if the last data set is retrieved from redmine