Print thread times every 5000 connections

Real, user, system time, average and max values.