fix isConnected if this._con is not (yet) defined