@Override
 public void run() {
   try {
     System.out.println(
         "---------------------- Thread for "
             + "Checking the HTTP NFCLEASE vmdkFlag: "
             + vmdkFlag
             + "----------------------");
     while (!vmdkFlag) {
       System.out.println("#### TOTAL_BYTES_WRITTEN " + TOTAL_BYTES_WRITTEN);
       System.out.println("#### TOTAL_BYTES " + TOTAL_BYTES);
       try {
         vimPort.httpNfcLeaseProgress(httpNfcLease, 0);
         Thread.sleep(290000000);
       } catch (InterruptedException e) {
         System.out.println(
             "---------------------- Thread interrupted " + "----------------------");
       }
     }
   } catch (Exception e) {
     e.printStackTrace();
   }
 }