I created another issue to check and fix exception leaking in other places: https://track.hpccsystems.com/browse/HPCC-9833