handle more connection error conditions and destroy graphs when they are not being looked at