RTGOV-524 Fixed npe when using async/stream based mode