private void pause() {
   try {
     Thread.sleep(1);
   } catch (InterruptedException e) {
     LOGGER.warn(e.getMessage());
   }
 }