You could add all units who leave the arena to UnitGroup.
Then make a periodic trigger, for example each 2 seconds --> Pick every Unit in UnitGroup and Set Mana of Picked unit to 0.
If unit enters arena region remove unit from this UnitGroup.
You can filter unit with being hero or what ever you need, and also pay attention to add at start all units who are not in arena to this UnitGroup.