If you want agents to mandatory assign a tag to each thread before they can close it:
- On the Settings tab of the admin WP, select Agent work place > Saved replies and tags.
- Click the overflow menu in the page header.
- Toggle on the Tag required switch.
Now agents must assign at least one thread to a thread before they can close it.