public static void sleep(long millis) {
        try {
            Thread.sleep(millis);
        } catch (InterruptedException e) {
            // ...
            Thread.currentThread().interrupt();
        }
    }
Sleep a bit

@param millis how long to sleep in milliseconds
src/main/java/io/fabric8/maven/docker/wait/WaitUtil.java