Fix Bug "CLI to become unresponsive when open device log stream"