shut down the base manager via atexit