at last, i must to add Thread logic to the server