HPCC-10660 : Improve efficiency of subscription session remove

Convert linear lookup to hash table lookup

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>