Revamped the RPC syncandsend code yet again.
Now we keep reading after we send the command, til we get the next prompt. That way we will catch any "Input error" messages and can try again. The downside is that, for reboots, we wait through the whole 10 second countdown before returning to the caller. Previously we would return immediately after issuing the command.