finish client-server thread count communication