Fixed typo
Added is_running  method in Task