Closing EPANET seems to trigger a SegFault, Updated freed arrays