Query cancellation & timeout

it appears the first element is something special. The thing I'm a bit worried about in terms of code clarity. If I am writing a new accumulator, what do I do with first?