code: public void stop() {
          setLedOn(false);
          if (null != blinkFuture) { blinkFuture.cancel(true); }
          if (null != blinkService) { blinkService.shutdownNow(); }
      }
docs: Calling this method will stop all threads. This is needed when using
  JavaFX on mobile devices when the device goes to sleep mode.