handle other side of connection going down