fix isOpen property of Connection

fixes: TypeError: this._session.isOpen is not a function