code: private synchronized void waitNextLoop(long ms) {
          try {
              wait(ms);
          } catch (InterruptedException e) {
              System.err.println(e);
          }
      }
docs: ===============================================================