HPCC-12763 Do not release exceptions if it is rethrown

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>