Couchbase Bulk loading error with upsert()

@simonbasle Yeah upon every run the error will occur after certain amount of cycles. Yes its the first operation I execute apart from the initial bucket connection set up. I had feeling it might of been the threading concurrency. Here is a full solution of my code

When do you reckon the bug would be fixed by? Ill try your workaround and see how that goes for now.