public static void sleep(int ms) {
        try {
            Thread.sleep(ms);
        } catch (InterruptedException e) {
//            logger.error("Error in Thread#sleep", e);
        }
    }
Runs task in JavaFX Thread
 @param runnable
src/main/java/com/kodedu/service/ThreadService.java