HPCC-12666 Fix regressions in workunit refactoring (HPCC-12250)

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
All it probably meant, was that the IPT's which link the connection, held it open, until the last one of them was cleared in init();