put send group msg to the mainloop