Core: UploadManager:hasUpload: add lock