public void close() {
    taskContainerMappingMetadataStore.close();
    taskModeMappingMetadataStore.close();
  }
Deletes the task container info from the {@link MetadataStore} for the task names.

@param taskNames the task names for which the mapping will be deleted.
samza-core/src/main/java/org/apache/samza/container/grouper/task/TaskAssignmentManager.java