Only update mLastUploadTime after upload completes without error
Merge pull request #105 from cpeterso/cpeterso/update-time-after-upload

Only update mLastUploadTime after upload completes without error