exit 0 causes terminal to freeze

- Same behaviour as if you typed exit.  updated it to exit 1