crazy is_shutdown syntax.