Workaround KeyError with CouchDB on concurrent read of the same object