Task/Engine: fix default timeout value

Use None instead of 0 to disable timeout internally.