To save battery life, iOS turns off apps every time the screen goes to sleep. This means your uploads get interrupted every time the screen goes dark. While there is nothing we can do about that, you can increase the amount of time that your screen is awake.
settings/display & brightness/auto-lock then choose never
Change it to never, until all your files have been uploaded.