Avoid multiple task manager stop event
Fix typo