Swapping Thread.sleep with Utilities.handledSleep