Race condition when parallel functions fired tasks: Fixed