Can you do some more error checking to make sure that it retries again if the file only comes being about 1kb big?
To my understanding the file is going to be at least 10-100kb big.
Maybe there could be a grace period of retrying a couple of times within 5-10 minutes span if file is under amount