how to respond client cancellation - Search