It is assumed drivers should have some sort of read/write deadline for all operations. If a link goes out, then it will stall, but only until the deadline is hit, where it will return with a net error.
If a Tx context is canceled, an in progress Query operation may succeed, but the tx will be rolled back afterwards. After a Tx context is canceled no additional operations may be preformed on it. The Query context will allow canceling that specific query (if supported) and ensuring the Rows is closed when completed.