Fix thermos glitch in aurora-12.

Fix thermos glitch in aurora-12:

The task list used by the command line was returned as an iterator, but used as a list.

Testing Done:
Ran all unit tests.

Bugs closed: aurora-12

Reviewed at https://reviews.apache.org/r/16326/