Removed dubious doWorkUntil method.