The status bar currently mostly shows "Disconnected" as soon as the task finished. We probably need something that tries to reach the server (this can really only be done reliably by trying to login).
The status should then remain on "Connected" until something fails that indicates that the connection is broken. (A periodic check could of course help in detecting that).