Use non-UI thread to connect to remote hosts