kill tasks at the end of parallelWaitN()
kill tasks at the end of parallelWaitN()
deleted:    errorcheck