Create a backgroud task to register static list of machines.

Fix #2181
Ah, I see, it can return. OK, that's fine then.