ParallelAsyncTasksManager: added cancelTask(Class, boolean) to cancel tasks of a specific class