fix nxos_facts indefinite hang for text based output (#45845)
fix nxos_facts indefinite hang for text based output (#45845)

Signed-off-by: Trishna Guha <ce185bc4d02177cfb8b83f6e4ec8fbdf1e25eaef@gmail.com>
thaim/ansible,thaim/ansible