Networking #4

Cleans up if lost connection