Putting generate countries on a different thread.