cp_client_close
closes an open tcp connection associated with the cp_client client.
RETURN VALUE
0 on successful operation, -1 on failure.
cp_client_close
may fail if the connection is not open. Errors on close may also indicate a
failure on a previous write operation.