Gracefully shutdown on config error