added TODO for console shutdown
experiment with Task and looping.
Replaced Thread for Task