move self.uploadPorgress check to inside of dispatch_async block