implementing device reboot via telnet, beginning