handle connect in background