I'm not sure, but I might have come up with a way to minimize error 2002. Following this method I was able to get through a 5k+ queue in approximately 1hr and 52mins.

What I did was to cancel my position in the queue every 5 minutes or so. When you press cancel it gives you a message asking you if you are sure you want to leave the queue. Press yes and quit to the title screen. Then, press start and log in with you character again. It will have saved your position in the queue.

Doing this, I only got Error 2002 twice, which seems to be less than usual, although I am not sure. It would be helpful if others could share their experience about how often they get 2002.

The first error occurred after I had enter the character log in screen and was about to queue again. It went to the Mare Lamentorum loading screen (where my character is logged off) and after sometime gave me Error 2002, exiting the client. I was able to log back in quickly and retain my position in the queue.

The second time I got Error 2002 as usual while waiting in the queue. When I attempted to log back in I got Error 2002 and was unable to reach the character log in screen. I tried again and got in, retaining my position in the queue.

Below is the data I collected on when I canceled and reentered the queue. The downside is that you still have to babysit the queue, maybe it is more predictable.

Time - Queue
============
7:20 - 5,035
7:28 - 4,738
7:32 - 4,486
7:39 - 4,348
7:44 - 4,131
7:49 - 3,918
7:55 - 3,623
8:00 - 2,980
8:05 - Error (1 attempt)
8:06 - 2,830
8:12 - 2,615
8:18 - 2,330
8:22 - Error (2 attempts)
8:24 - 2,012
8:30 - 1,795
8:35 - 1,648
8:40 - 1,470
8:45 - 1,268
8:50 - 1,052
8:55 - 833
9:00 - 619
9:05 - 328
9:10 - 56
9:12 - Logged in