void sleep(double seconds) {
        long millisToSleep = (long) (seconds * 1000);
        lastWaitTimeMs = millisToSleep;
        try {
            Thread.sleep(millisToSleep);
        } catch (InterruptedException ie) {
            Thread.currentThread().interrupt();
            throw new RuntimeException(ie);
        }
    }
Sleep for a given amount of seconds.
@param seconds The amount of time to sleep in seconds.
aws-java-sdk-core/src/main/java/com/amazonaws/internal/TokenBucket.java