HPCC-12764 Altered stop_thor

Signed-off-by: Michael Gardner <Michael.Gardner@lexisnexis.com>