Create a backgroud task to register static list of machines.

Fix #2181
We are not using namespace for minion yet (do we?).  So it might be better to set nameapace when we use it.