Added comment on what CHUNK value sets
Removed duplicate code functionality. Also changed request retries to not use recursion for ease of debugging