Set non-zero exitcode in case of immediate failure