Throw Error when Couchdb is not running
fixed not triggering error when value was negativ