Alter the way the timer works so that it pauses for a user when their opponent leaves, so the opponent doesn't get the win.
I had 90 seconds left and they had 60 seconds left to reconnect, yet I lost from time out.
https://replay.pokemonshowdown.com/gen8randombattle-1395998341