Changed script to stop grabbing pages based upon data usage in addition to the timeout