fix bug where I use wifi to receive arduino in arduino thread