Bug fixed: end task now can be executed.