When remote wakes up and is connecting to wifi

Keep trying for 10 seconds to send the command you sent before presenting the cannot talk to device error that appears