Removed the call to exit().