Use multiple thread to implement the ECHO function