connection.isBroken() now deprecated