changed void pointer to right pointer type
added time-diff an thread-clients to clean
tc_client_func needs the pointer to tc_clients