Avg calculation for TCP connection durations