treat msg using multi-thread