Changes AttributeTag and LocalTag to clear their state in #doFinally in case of tag pooling.