Fix a possible bug that I introduced with autoconnect.

State checking within the autoconnect world should fix a possible problem where I try to connect to a server that's already connected.