Try lowering your connection speed in the client loader, I've used 384k for years. I still sometimes have to login twice though.
Not 100% sure it helps, but I suspect if the game assumes you are on a low connection speed maybe it waits longer before treating it as a timeout.