test refactor
refactor
Use separate semto wait for connect response