connecting and sending crash dump over tftp, but not closing properly