Exiting when a command fails. fixes #4