correct detection of failed connections
correct detection of failed connections

this fixes the login button randomly showing up, e.g. if the stream
times out while streaming

concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse