Query cancellation & timeout

It is up to the storage engine to decide whether it wants to support query cancellation. I don't know if we want to make it a requirement.