slight change to socket deletion on disconnect