Work to ensure that exit code is set with failure