I'm not an expert on ymodem, but take a look at the reference I suggested above, in particular:
6.3.2 Receive_Program_Considerations
The receiver has a 10-second timeout. It sends a <nak> every time it
times out. The receiver's first timeout, which sends a <nak>, signals the
transmitter to start. Optionally, the receiver could send a <nak>
immediately, in case the sender was ready.
Jan