fix npe: hande a case where thread is processing stream which are hcat enabled and disabled