fix a concurrency bug in MemreadEngine