Haidong Yu : conhost: Input should be restored and input_thread handle should be closed before return.