jquery.couch.js

Suppose you're listening for the db changes:

<pre><code>var promise = app.db.changes(0);</code></pre>

And want to stop listening:

<pre><code>promise.stop();</code></pre>

But it will only prevent reconnecting and event triggering, while XMLHTTPRequest will be still active (just until server responds).

My patch is fixing this.