How to close a ticket without it being reopened by a thank you reply

How to close a ticket without it being reopened by a thank you reply

How to avoid a closed ticket from being reopened by a Thank You type of reply!