// Make sure to cleanup the orphaned segments.
for (SegmentHeader header : toRemove) {
final Statement stmt = headerMap.get(header).stmt;
loadFailed(
header,
new QueryCanceledException(
"Canceling due to an absence of interested parties."));
// We only want to cancel the statement, but we can't close it.
// Some drivers will not notice the interruption flag on their
// own thread before a considerable time has passed. If we were
// using a pooling layer, calling close() would make the