Make Thor exit with nonzero status code on failure