Close open a tag