Resetting error count after a successful request to reduce kicking off JSONs that fail only occasionally