added check if a task was cancelled

modified:   Macaulay2/d/actors4.d
	modified:   Macaulay2/m2/exports.m2