add infinity loop and scan nextline in send thread, comment print lines