Finish client and server communication