Rollback TaskThread code

See 68e0b273 and 98af4923

Just a simple mistake.