Two-way communication between server and client finished.