Remove illegal call to exit().