docs: synchronized public void completeTask(int taskId, int partitionStoresMigrated) {
          tasksInFlight.remove(taskId);
  
          numTasksCompleted++;
          numPartitionStoresMigrated += partitionStoresMigrated;
  
          updateProgressBar();
      }