How check if file is already uploaded before upload the next file in akamai netstorage

I using akamai-http-api ( & netstorageapi ) nodejs packages, in my case, I need to upload several files one bye one, getting each file from a SQS queue , so I need to check if file is already uploaded in netstorage to handle SQS duplicate messages, before going for the next file, I using akamai upload method fileExists method from akamai-http-api but this is not useful, since file is already uploading and fileExists method will return false espically when big size files are uploading.

as a simulate scenario I made this code, let's say akamaiPathFile is same file all the time, this will upload the same file multiple time :

for(var i=0; i<=3; i++){

akamai.fileExists(akamaiPathFile, function(err,isExist){
  akamai.upload(fileStream, PathToUpload, function (err, data) {
    if (err) {
      console.log('>>>>', JSON.stringify(err));
    } else {
      console.log("File Uploaded!!!")
  }else {
    console.log("File does not exist!")