delete System.exit calls