Fix bug where client continues to play after failing to connect.