Changed back to sys__exit().  Seems to work fine now.