Replaced shutdown_behavior(string) with terminate_on_shutdown(bool)