put connect/listen's connector into one map