Try again... *looks at watch* ... now!
As far as I know, there are only 2 circumstances in which your character won't get kicked 30 seconds after your client was closed.
1) You were in a battle.
It takes around 5 minutes for you character to log out. This was made on purpose, to avoid people logging out when they are loosing a fight. If I'm not mistaken, the fight continues even without you until either you or your opponent has died.
2) Huge lag is going on ingame.
Even though you aren't online, your character still is, due to lag. The lag sometimes happens to be incredibly long (up to an hour or longer). This is pretty rare though and nothing to worry about. Just check back every once in a while, if you can log in again.