Fix recursive __str__ bug on disconnect