cc.c: Fix unclean disconnect on timeout
cc.c: Fix unclean disconnect on timeout

This gets rid of some ugly "TLS connection non-properly terminated"
errors on the other side of the connection.

Tilka/ncdc,Tilka/ncdc