exit if command fails