#287: Work around ZXingObjC not being thread safe.