in reply to Re^2: use telnet to router with expectin thread use telnet to router with expect
What happens if you switch that to "soft_close", or even expect something you'd see at the end of the inventory before closing?