Dismiss the server connect progress dialog on failure
Added small timeout so that all connection attempts aren't executed in the matter of milliseconds.
Added debugging stuff
Session is nonexistant