public synchronized Map<Integer, PipeTask> removePipeTasks(PipeStaticMeta pipeStaticMeta) {
    return pipeMap.remove(pipeStaticMeta);
  }
Remove {@link PipeTask}s by {@link PipeStaticMeta}.

@param pipeStaticMeta {@link PipeStaticMeta}
@return {@link PipeTask}s if exists, {@code null} otherwise
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/task/PipeTaskManager.java