code: function(reason) {
          if (reason) {
            for (var i = 0; i < buffer.length; ++i) {
              buffer[i].deferred.reject(reason);
            }
          }
          buffer = [];
        }
docs: Abandon or reject (if reason provided) all the buffered requests.