Should always exit with error code on errors