Added freeing TCP sockets in cclDisconnect