better error handling for simple task result notification