Made latency port optional