Add support for canceling requests