I fixed it though, seems as I forgot to set timeout value for the new server code. It's set to 30 seconds now. Do tell if you still get this problem ...
Hmm, Problem happened again. I crashed and then couldn't log back on. Perhaps I am not patient enough.
[6:24:12 PM] Connection to server closed!
[6:24:17 PM] Error: Must be connected to send data!
[6:24:20 PM] Error: cannot connect!
[6:25:53 PM] Connecting to taspringmaster.clan-sy.com ...
[6:25:53 PM] Connection established to taspringmaster.clan-sy.com
[6:25:56 PM] Login failed: Already logged in
[6:25:56 PM] Connection to server closed!
[6:26:43 PM] Connecting to taspringmaster.clan-sy.com ...
[6:26:44 PM] Connection established to taspringmaster.clan-sy.com
[6:26:49 PM] Login failed: Already logged in
[6:26:49 PM] Connection to server closed!
[6:28:10 PM] Connecting to taspringmaster.clan-sy.com ...
[6:28:11 PM] Connection established to taspringmaster.clan-sy.com
[6:28:15 PM] Login failed: Already logged in
[6:28:15 PM] Connection to server closed!
[6:31:41 PM] Connecting to taspringmaster.clan-sy.com ...
[6:31:41 PM] Connection established to taspringmaster.clan-sy.com
[6:31:44 PM] Login failed: Already logged in
[6:31:44 PM] Connection to server closed!
[6:34:42 PM] Connecting to taspringmaster.clan-sy.com ...
[6:34:43 PM] Connection established to taspringmaster.clan-sy.com
[6:34:46 PM] Login failed: Already logged in
[6:34:46 PM] Connection to server closed!
I waited longer than 30 seconds. Maybe this whole problem is j5mello's fault, he was my ally when I crashed. :)