Working on cancellation.

Signed-off-by: bill-mybiz <bill.mybiz@gmail.com>