refactor(client): breakout checkout and connect race into separate function
refactor(client): breakout checkout and connect race into separate function

yazaddaruvala/hyper,hyperium/hyper,hyperium/hyper,tshepang/hyper,hyperium/hyper,yazaddaruvala/hyper,tshepang/hyper,tshepang/hyper