Set a maximum time before tickets can't be reopened

It would be nice if there was a time frame we could set to prevent tickets from being re-opened after a certain period of time. Something like after 30 days, if someone replied to a closed ticket it would not re-open that closed ticket, but prompt the user to create a new ticket.