demeteorizer should exit with errror code if error occurs