You can re-assign the ticket among agents, based on who sent the latest reply. This can be done with the help of an automation rule under Admin > Workflows > Automations > Ticket updates > New rule.
When an action is performed by..
Agent
Involved any of these events:
Reply is sent
Action:
Assign to Agent > Event Performing Agent