Added exit to _shutdown 1