Query cancellation & timeout

yielders are the right solution for this. In the case of Sequence you would not want to write any output in case an exception gets thrown before the first, but this doesn't work if there are no results, so I will just remove this change.