Fixed StyleCop Issue
Retry to connect to server on failing connection

If the inital connection failed, a background thread is
trying to reconnect until the first successful login happens.

The UI should appear much faster know, because the login
process in not in the UI thread anymore.