Retrying file uploads