code: protected final void doWait(double seconds)
      {
          try
          {
              long ms = (long)(seconds * 1000l);
              synchronized (this)
              {
                  wait(ms);
              }
          }
          catch (InterruptedException ie)
          {
              log.debug("BackgroundProcess thread interuptted.");
          }
      }
docs: wait for a number of seconds (nicer than microseconds!)
  Be aware that wait relinquishes its monitors