Fix tcp server.