SYMPHONY-1645 Actually set exit code on exit.