Mark the connection bad in a couple of more cases
Mark the connection bad on unexpected panics

Since we have no way of knowing where things went wrong, consider the
connection bad in its entirety.