Create a backgroud task to register static list of machines.

Fix #2181
godoc, mention that it dosen't return.