abort task, automatically end task. full code optimization and spelling check