Don't hang when server fails to start

We need to check to ensure the server hasn't exited, otherwise we might
loop forever.

Fixes #87.