What is the best practice for canceling the long running query in the middle tier from the presentaion tier?