delegate host list update to main thread
Merge pull request #422 from koeppea/scan-crash

Fix Scan crash