Fixed race condition in async response processing in pipelining mode
Minor performance optimization tweak for pipelining mode