// Alternately, we should create a WeakReference based monitor that shuts down the
// old registry when it is no longer used by any other threads. For the moment,
// this functionality is limited to development-time only (not production), so it isn't
// urgent.
oldRegistry.shutdown();
}
/**
* Cleanup the thread, ignoring any exceptions that may be thrown.
*/