In case of error the program should exit with status that allows jenkins
to see if there has been an error and indicate it in the job status