@Override public void close(){
  closing=true;
  if (reservations == null || reservations.compareAndSet(0,-1))   doClose();
}

@ Override public void close ( ) { closing = true ; if ( reservations == null || reservations . compareAndSet ( 0 , - 1 ) ) doClose ( ) ; }
closes tree map and reclaims memory .
