Fix task lifecycle
Fix task lifecycle

pombredanne/viewflow,codingjoe/viewflow,viewflow/viewflow,ribeiro-ucl/viewflow,ribeiro-ucl/viewflow,ribeiro-ucl/viewflow,codingjoe/viewflow,pombredanne/viewflow,viewflow/viewflow,codingjoe/viewflow,viewflow/viewflow