public static void sleepMs(org.slf4j.Logger logger,
Sleeps for the given number of milliseconds, reporting interruptions using the given logger.
Unlike Thread.sleep(), this method responds to interrupts by setting the thread interrupt
status. This means that callers must check the interrupt status if they need to handle
logger - logger for reporting interruptions; no reporting is done if the logger is null