finish single client-server communication