make tcp output sync