Add some utility methods, like cancelAllTasks
Fix ResultMonitor.