Edit the given paragraph to be more cohesive.
Each qashmal vanishes after carrying out its task. If qashmal failed in the attempt, and they never try again.
Each qashmal vanishes after carrying out its task or if it failed in the attempt, and they never try again.