Increase serial.timeout to wait for Nanode's init commands rather than sleep.