You can configure a workflow automator, which checks for the event “Reply is sent performed by Requester” condition saying “Status is not Closed” and actions, you can set to reopen the ticket. A screenshot for the above is added below: