multithread, add a work thread to handle the data