[fix] Added missing semi-colon, spacing.
[fix] Clear the latency array.