Add ability to cancel periodic tasks

Signed-off-by: Rick Copeland <rick@arborian.com>