Timeout precision up to the millisecond