We should also expose a single global cancel, so 

    var sync = db.sync('http://example....');
    sync.cancel();