withTimeout

public final RaceCommand withTimeout(Double duration)

Interrupts this command if it does not finish after duration seconds.