1.make sender as a singal thread. 2. merge receiver to the main thread.
change sender header