destroyed all resources during shutdown