Fix leaks

Hi James, as discussed - fixing object leaks by disposing the cancellation tokens & registrations.