Added a cancelTask() method so that CommunityBridge can cancel the metrics task during a deactivation or reload, etc. Fixes #58.