Create a backgroud task to register static list of machines.

Fix #2181
Still needs godoc comment :)