Thread.sleep( 100 ) ;
monitor.stopping( this, STOP_WAIT ) ; Thread.sleep( STOP_WAIT ) ;
    public void stop() throws InterruptedException    {        hasStarted = new Boolean( false ) ;        while ( thread.isAlive() || ! activeWorkers.isEmpty() )        {            Thread.sleep( 100 ) ;                        synchronized( queue )            {                queue.notifyAll() ;            }        }                monitor.stopped( this ) ;    }