- Avoid calling shutdown twice