Finalized the server communication