Updated this._stop() to support iOS