code: @Override
      public synchronized Task take() throws TimeoutException {
          try {
              Task task = queue.remove();
              inprocess.add(task);
              return task;
          } catch (NoSuchElementException ex) {
              throw new TimeoutException(ex);
          }
      }
docs: /* (non-Javadoc)
  @see org.duracloud.queue.TaskQueue#take()