connect on other thread