code: function () {
      count = count + 1;
      if (count > maxAttempts) {
        return callback('Max Attempts hit', { created: false });
      }
      request(options, function (err, response) {
        if (err) {
          return callback(err, { created: false });
        }
        if (response.statusCode === 200) {
          return callback(null, { created: true });
        }
        setTimeout(t, interval);
      });
    }
docs: Remark: Poll the couch with a GET every interval to determine if couch is up yet We perform a poll since there is no real database available notification event from couchone