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.

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
Merge pull request #660 from flynn/fix-scheduler-test

test: Fix race in TestControllerRestart