Guaranteed way to win (assuming no disconnects or unforeseen glitches)
First off, forget the combo training you did, the comp is often faster cause of ping. Its very unreliable and often just gets you killed.
Only refresh defense while in melee range, as it shares a cooldown with your ranged attacks, but not your melee. If its on CD when he moves to range, you will very likely lose.