Try to recreate task when it returns nil
Merge branch 'fix-nil-task' into together-2.9