expand notes on shutdown and exception handling