Connecting and joining now block until completion.