isConnected should only represent the logical state connected.

Revert and fix logic which was incorrect instead.