Yeh it does switch, as you see from the log it resends 0x51 (the cdkey packet) again with w/e next key is on your list. It just looks like the server is iping you, do to too many reconnection attempts. I suggest waiting a while before using again.
Next build I'll add in delays and more descriptive words on bot screen, so people know whats going on.