working in a loop

got a bail out from couchdb when connections went over 5 or so

limit to 2 docs processed at a time now, so that I don't flood on the
create db calls