async connection working