public HttpWaitStrategy withReadTimeout(Duration timeout) {
        if (timeout.toMillis() < 1) {
            throw new IllegalArgumentException("you cannot specify a value smaller than 1 ms");
        }
        this.readTimeout = timeout;
        return this;
    }
Set the HTTP connections read timeout.

@param timeout the timeout (minimum 1 millisecond)
@return this
core/src/main/java/org/testcontainers/containers/wait/strategy/HttpWaitStrategy.java