Create a backgroud task to register static list of machines.

Fix #2181
Done.