public synchronized void shutdown(){
  shutdown=true;
  notifyAll();
}

public synchronized void shutdown ( ) { shutdown = true ; notifyAll ( ) ; }
stops the thread used to close idle connections . this class cannot be used once shutdown .
