exit with return status non zero on error