code: public static synchronized List<String> getTaskList() {
          List<String> tasks;
  
          if (uploadTasksMap.isEmpty()) {
              tasks = new ArrayList<>(1);
          } else {
              tasks = new ArrayList<>(uploadTasksMap.size());
              tasks.addAll(uploadTasksMap.keySet());
          }
  
          return tasks;
      }
docs: Gets the list of the currently active upload tasks.
  @return list of uploadIDs or an empty list if no tasks are currently running