HPCC-9415 Handle threads adding and removing fs properly

Signed-off-by: Mark Kelly <mark.kelly@lexisnexis.com>