I think that there should be a waiting time before you log out, that way you cannot quit while you are in the middle of a battle.
For example, I click on the \"log out\" button, and then a 30 second countdown begins. If i attack or get attacked during that interval, then the logging out process is stopped, and you will have to try again after the battle/duel/event has ended.
- Golbez