test: Fix race in TestControllerRestart

Creating a client doesn't actually make any connections, so try to connect to the stream inside of the attempts function.