rounding usec to msec: wrap to next second when appropriate