std.Io.Threaded: move the NtDelayExecution later in batchWait

also guard against receiving SUCCESS with 0 byte read

ms docs say that pipes can do this if there is a 0 byte write
291d941111Andrew Kelley committed on 1/30/2026, 8:10:02 PMparentab1268e
2 files changedLine totals unavailable