[PATCH 5/5] unit: Add millisecond timeout overflow check