Correcting deadlock bug during task generation